NAME
File::Fingerprint - This is the description
SYNOPSIS
use File::Fingerprint;
my $fingerprint = File::Fingerprint->roll( $file );
DESCRIPTION
- roll
- init
- file
-
Returns the filename of the fingerprinted file. This is the same path passed to
roll. - md5
- mmagic
-
Return the MIME type of the file, as determined by File::MMagic. For instance,
text/plain. - basename
-
Returns the basename of the file.
- extension
-
Returns the file extensions as an array reference.
For instance, stable.tar.gz returns
[ qw(tar gz) ]. - size
-
Returns the file size, in bytes.
- stat
-
Returns that stat buffer. This is the array reference of all of the values returned by
stat. - lines
-
Returns the line count of the file.
- crc16
-
Returns the CRC-16 checksum of the file.
- crc32
-
Returns the CRC-32 checksum of the file.
TO DO
SEE ALSO
SOURCE AVAILABILITY
This source is in Github
git://github.com/briandfoy/file-fingerprint.git
AUTHOR
brian d foy, <bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright (c) 2008, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.