brian d foy > File-Fingerprint-0.10_02 > File::Fingerprint

Download:
File-Fingerprint-0.10_02.tar.gz

Dependencies

Annotate this POD

Module Version: 0.10_02   Source  

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.

syntax highlighting: