![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Pack/Unpack with B32 and related queryby esskar (Deacon) |
on Jul 28, 2004 at 02:26 UTC ( #377907=note: print w/replies, xml ) | Need Help?? |
well, the 'CCCC' is the reason...
C (An unsigned char value) unpacks a byte to a number.
and CCCC unpacks 4 bytes to 4 numbers...
so it is no different to unpack only the first 4 chars in the string or the entire string
In Section
Seekers of Perl Wisdom
|
|