use String::CRC32; my $crc32 = crc32("/etc/test2.sh"); print $crc32 . "\n";