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

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

Serving Software Downloads in 956 Categories, Downloaded 50.361.541 Times

File::Util 3.22

  Date Added: July 16, 2010  |  Visits: 944

File::Util

Report Broken Link
Printer Friendly Version


Product Homepage
Download (109 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
USER REVIEWS
More Reviews or Write Review


FILE::UTIL RELATED
Libraries  -  File::Searcher 0.91
File::Searcher is a searches for files and performs search/replacements on matching files. SYNOPSIS use File::Searcher; my $search = File::Searcher->new(*.cgi); $search->add_expression(name=>street, search=>1234 Easy St., replace=>456 Hard...
9.22 KB  
Libraries  -  File::stat 0.1
File::stat is a by-name interface to Perls built-in stat() functions. SYNOPSIS use File::stat; $st = stat($file) or die "No $file: $!"; if ( ($st->mode & 0111) && $st->nlink > 1) ) { print "$file is executable with lotsa linksn"; } use...
14.2 MB  
Libraries  -  Tie::Layers 0.06
SYNOPSIS ##### # Subroutines # use Tie::Layers qw(is_handle config); $yes = is_handle( $file_handle ); ($key, $old_value) = config(%options, $key); ($key, $old_value) = config(%options, $key => $new_value ); #### # Config default...
71.68 KB  
Utilities  -  Fuse4X 0.9.0
Fuse4X allows you to extend Mac OS X's native file handling capabilities via 3rd-party file systems. It can be used as a software building block other products. As a user, installing the Fuse4X software package will let you use any...
481.28 KB  
Libraries  -  OpenOffice::OODoc::Document 2.027
OpenOffice::OODoc::Document is a top level component for content and layout processing. SYNOPSIS # get an OOo file handler my $oofile = ooFile("myfile.odt"); # connect a content-focused document interface my $content = ooDocument ( file...
215.04 KB  
Libraries  -  Template::Tools::ttree 2.19
Template::Tools::ttree module can process entire directory trees of templates. SYNOPSIS ttree [options] [files] The ttree script is used to process entire directory trees containing template files. The resulting output from processing each...
768 KB  
Libraries  -  Gwenhywfar 2.9.1 Beta
Gwenhywfar is a multi-purpose library that provides useful functions such as configuration file handling, a full featured message generation and parsing engine, and an operating system abstraction layer. Gwenhywfar is used by Libchipcard,...
1.1 MB  
Development Tools  -  tanques interconectados con temperatura 1.0
content:+ m-file of the nonlinear model+ m-file linearization+ simulink models for the simulation system
10 KB  
Content Management  -  cmsdAm for Scripts 0.8
cmsdAm is a simple, secure and scalable content management system.Features:- include plugins- handle user defined (sub)sections- developed with system administrators in mind (I'm a Linux system administrator!)- sections navigation bar- media...
102.4 KB  
Development Editors  -  SB Util 0.5.3
SB Util is a production stable Java utility library designed with convenience methods for string- and stream processing, file handling, XML, XSLTs and XPath, checksums, console formatting, and more. for WindowsAll
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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