We don't bite newbies here... much | |
PerlMonks |
Pack/Unpack with B32 and related queryby Anonymous Monk |
on Jul 28, 2004 at 02:04 UTC ( [id://377905]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'd like some help from anyone who can explain how the following pack/unpack examples work (in simple terms please :-) ). All the examples I've looked at on the web mention the B32 format only briefly, use binary representation instead of decimal (as used by this prog) and only have 1 value after the 'B32, instead of 2 values as below. The code below is based on a program I need to amend. I'd also like to know why the 2 different ways of retrieving the mask both work/produce the same answer. Thanks for any help Cheers Chris
Back to
Seekers of Perl Wisdom
|
|