Main > Programming > Libraries >

File::stat 0.1

File::stat 0.1

Sponsored Links

File::stat 0.1 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 14.2 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 911
Date added: 2007-04-27
Publisher: Tom Christiansen

File::stat 0.1 description

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 File::stat qw(:FIELDS);
stat($file) or die "No $file: $!";
if ( ($st_mode & 0111) && $st_nlink > 1) ) {
print "$file is executable with lotsa linksn";
}

This modules default exports override the core stat() and lstat() functions, replacing them with versions that return "File::stat" objects. This object has methods that return the similarly named structure field name from the stat(2) function; namely, dev, ino, mode, nlink, uid, gid, rdev, size, atime, mtime, ctime, blksize, and blocks.

You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this still overrides your stat() and lstat() functions.) Access these fields as variables named with a preceding st_ in front their method names. Thus, $stat_obj->dev() corresponds to $st_dev if you import the fields.

To access this functionality without the core overrides, pass the use an empty import list, and then access function functions with their full qualified names. On the other hand, the built-ins are still available via the CORE:: pseudo-package.

File::stat 0.1 Screenshot

Advertisements

File::stat 0.1 Keywords

Bookmark File::stat 0.1

Hyperlink code:
Link for forum:

File::stat 0.1 Copyright

WareSeeker periodically updates pricing and software information of File::stat 0.1 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::stat 0.1 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
File::Stat::Bits - stat bit mask constants. Free Download
Filesys::Ext2 is a Perl interface to ext2 and ext3 filesystem attributes. Free Download
A performance analysis and monitoring tool for Solaris and Linux Free Download
MetaFS is an advanced filesystem metadata layer. Free Download
File::Remote is a Perl module to read/write/edit remote files transparently. Free Download
File::Stat::ModeString - conversion file stat mode to/from string representation. Free Download
Libface is a special library exclusively for face recognition and it is built over Intels OpenCV Library. Free Download
Lufs::C is a C interface to perl. Free Download