Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.047.245 Times

File::Util 3.22

  Date Added: July 16, 2010  |  Visits: 656

File::Util

Report Broken Link
Printer Friendly Version


Product Homepage
Download (80 downloads)

File::Util is an easy, versatile, portable file handling module. File::Util provides a comprehensive toolbox of utilities to automate all kinds of common tasks on file / directories. Its purpose is to do so in the most portable manner possible so that users of this module wont have to worry about whether their programs will work on other OSes and machines. SYNOPSIS use File::Util; my($f) = File::Util->new(); my($content) = $f->load_file(foo.txt); $content =~ s/this/that/g; $f->write_file( file => bar.txt, content => $content, bitmask => 0644 ); $f->write_file( file => file.bin, content => $binary_content, --binmode ); my(@lines) = $f->load_file(randomquote.txt, --as-lines); my($line) = int(rand(scalar @lines)); print $lines[$line]; my(@files) = $f->list_dir(/var/tmp, qw/ --files-only --recurse /); my(@textfiles) = $f->list_dir(/var/tmp, --pattern=.txt$); if ($f->can_write(wibble.log)) { my($HANDLE) = $f->open_handle( file => wibble.log, mode => append ); print $HANDLE "Hello World! Its ", scalar localtime; close $HANDLE } my($log_line_count) = $f->line_count(/var/log/httpd/access_log); print "My file has a bitmask of " . $f->bitmask(my.file); print "My file is a " . join(, , $f->file_type(my.file)) . " file." warn This file is binary! if $f->isbin(my.file); print "My file was last modified on " . scalar localtime($f->last_modified(my.file)); # ...and _lots_ more.

Requirements: No special requirements
Platforms: Linux
Keyword: Content F- File File Handling Fileutil Handle Libraries Portable Print Programming Versatile
Users rating: 0/10

License: Freeware Size: 41.98 KB
FILE::UTIL RELATED
Modules  -  Save-to-File 5.x-1.x-dev 1.0
When clicked, some handy javascript moves the entire content of the textarea to a file, and replaces the textarea content with a short function that will grab the content from a file the next time the content is loaded. This allows switching...
 
Libraries  -  File::Headerinfo::Video 0.03
File::Headerinfo::Video is an extractor of useful information from video files. File::Headerinfo::Video uses Video::Info to read the headers of video clips (of various kinds) and a few audio files, and extract from them the useful information we...
48.13 KB  
Libraries  -  Audio::File 0.10
Audio::File is a audio file abstraction library. SYNOPSIS use Audio::File; my $file = Audio::File->new( "foo.bar" ); print "The ". $file->type() ."-file ". $file->name ." is ". int $file->length() ." seconds long.n"; print "Its...
74.75 KB  
Libraries  -  File::Spec::Link 0.080
File::Spec::Link is a Perl extension for reading and resolving symbolic links. SYNOPSIS use File::Spec::Link; my $file = File::Spec::Link->linked($link); my $file = File::Spec::Link->resolve($link); my $dirname =...
7.17 KB  
Libraries  -  File::Basename::Object 0.01
File::Basename::Object is a Perl module with object-oriented syntax sugar for File::Basename. SYNOPSIS my $file = File::Basename::Object->new("/path/to/a/file.html", ".htm", ".html"); if(open(my $fh, <, $file)) { print "Now reading ",...
4.1 KB  
Programming  -  File::PathInfo 1.27
File::PathInfo is a Perl module that provides an object oriented interface to things you want to know about a file, such as extension, absolute path, relative path, size, filename (without extension), etc. It is a sort of swissarmy knife of file...
40.96 KB  
File Utilities  -  BinView 1.0
With BinView you can quickly examine the binary content of a file, by dropping it from explorer onto the main window. Binview allows viewing in hexadecimal, decimal and ascii notation. File index pointers indicate what position is being shown....
465 KB  
Backup Utilities  -  Windows Backup File Reader Tool 1.0
Windows Backup File Reader Tool is a free BKF Viewer Utility which can help you to view content of BKF file and read corrupt BKF file without any pay. Try BKF Viewer Tool and take all benefit of Free BKF Viewer Software absolutely free of cost,...
932 KB  
Backup Utilities  -  Windows BKF File Viewer 1.0
Use advance Windows BKF file Viewer tool and view all content of BKF file even your Backup file got damaged due to any reason. When Windows Backup file got damaged then in that condition you can not access or view corrupt file but when you are...
932 KB  
Volume Controllers  -  PCBooster Free Duplicates Remover 7.3.5
Duplicate files are detrimental to your PC performance and usability. As they accumulate over and over, your valuable disk space will keep getting smaller. PCBooster Free Duplicates Remover is able to locate identical files by verifying name,...
1.03 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB