Sample code for 30+ languages & platforms
Perl

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Perl Downloads

Perl
use chilkat();

$crypt = chilkat::CkCrypt2->new();

$filePath = "c:/temp/someFile.dat";

$crc32 = $crypt->CrcFile("crc-32",$filePath);
print $crc32 . "\r\n";

$crc8 = $crypt->CrcFile("crc8",$filePath);
print $crc8 . "\r\n";