For example, the following computes the same number as the System V sum program:
$checksum = do { local $/; # slurp! unpack("%32C*",<>) % 65535; };
--
flounder
In reply to Re: Checksum for Windows
by flounder99
in thread Checksum for Windows
by rupesh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |