Main > Programming > Libraries >

File::Util 3.22

File::Util 3.22

Sponsored Links

File::Util 3.22 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.041 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 809
Date added: 2007-08-08
Publisher: Tommy Butler

File::Util 3.22 description

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

File::Util 3.22 Screenshot

Advertisements

File::Util 3.22 Keywords

Bookmark File::Util 3.22

Hyperlink code:
Link for forum:

File::Util 3.22 Copyright

WareSeeker periodically updates pricing and software information of File::Util 3.22 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of File::Util 3.22 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Iterator::Util Perl package contains essential utilities for the Iterator class. Free Download
IO::Util is a selection of general-utility IO function. Free Download
Gimp::Util is a Perl module to some handy routines for Gimp-Perl users. Free Download
File::Tabular can search and edit flat tabular files. Free Download
MillScript-Util is an alternative to the standard Java Collections API. Free Download
List::Util Perl module contains a selection of general-utility list subroutines. Free Download
Params-Util is a simple, compact and correct param-checking functions. Free Download
Crypt::Util is a lightweight Crypt/Digest convenience API. Free Download