The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

File::Fingerprint::Huge

DESCRIPTION

The File::Fingerprint::Huge library is designed to quickly finger print very large files which a very high probability of uniqueness. However absolute uniqueness cannot be guaranteed.

SYNOPSIS

 use File::Fingerprint::Huge;
 my $fp = File::Fingerprint::Huge->new("/largefile");

 my $crc64 = $fp->fp_crc64;

 print $crc64 . "\n";

 exit;

METHODS

new(file)

Create a new File::Fingerprint::Huge object based on file which is a large file to scan.

fp_file(filename)

Change the file to checksum by assigning filename as the new file.

fp_chunks()

Fetch data chunks for checksum processing and return them

fp_crc64()

Return a CRC64 number based on large file scan

fp_crc32()

Return a CRC32 number based on the large file scan

fp_md5hex()

Return an MD5 checksum hash based on the large file scan

AUTHOR

Colin Faber <cfaber@gmail.com>

Based on work from http://perlmonks.org/?node_id=951861

LICENSE

(C) Colin Faber All rights reserved. This license may be used under the terms of Perl it self.