in reply to On generating checksums and using unpack
The '%' is just telling unpack to use the special checksum function, I believe the 'C' means to break the input into unsigned chars (it's not for checksum) and the '*' means repeat the 'C' for the rest of the input. You'll want to look at pack for better info on the template syntax the two functions share. According to the manpage, %N works for N-bits, so I have no reason to doubt that your second snippet will do 64-bit checksums, but I can't verify that.
--
I'd like to be able to assign to an luser
|
|---|