Do you know where your variables are? | |
PerlMonks |
Re^3: Pack uneven length hexby syphilis (Archbishop) |
on Nov 23, 2018 at 10:50 UTC ( [id://1226218]=note: print w/replies, xml ) | Need Help?? |
I was hoping there's a clever way to work with parameters in pack() itself, which would change it's behavior to pad left side Not sure that it can be classified as "clever", but if you "scalar reverse()" twice, it seems to produce the correct result (for your given example, at least) : Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|