in reply to Checksum for Windows
For example, the following computes the same number as the System V sum program:
$checksum = do { local $/; # slurp! unpack("%32C*",<>) % 65535; };
--
flounder
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Checksum for Windows
by cmv (Chaplain) on Oct 05, 2007 at 13:33 UTC |