| buy not exactly sure how this is working. tried looking at 
| perldoc pack
| but no luck. explanation is appreciated.

perldoc unpack gives the explanation:

  In addition to fields allowed in pack(), you may prefix a
  field with a %<number> to indicate that you want a
  <number>-bit checksum of the items instead of the items
  themselves.  Default is a 16-bit checksum.  Checksum is
  calculated by summing numeric values of expanded values (for
  string fields the sum of `ord($char)' is taken, for bit fields
  the sum of zeroes and ones).

Hope this helps,

-- mhx

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to