in reply to Re^4: Practical Example of Converting Packed Value
in thread Practical Example of Converting Packed Value
Is there any reason not to use these binary constants instead of hexadecimal constants in the real program?
Absolutely not! I actually had to write the binary down and convert to derive the hex.
Why did I do that? Simply, because I forgot that Perl can handle binary constants. Dumb, but true.
I especially like your use of the benign underscore to clarify the breakdown++
|
|---|