Perl
Chilkat2 Perl
Example: Crypt2.CrcFile method
Demonstrates how to call the CrcFile method.Chilkat Perl Downloads
use strict;
use warnings;
use Chilkat2;
my $crypt = Chilkat2::Crypt2->new;
my $filePath = 'c:/temp/someFile.dat';
my $crc32 = $crypt->CrcFile('crc-32', $filePath);
print $crc32, "\n";
my $crc8 = $crypt->CrcFile('crc8', $filePath);
print $crc8, "\n";