Don't ask to ask, just ask | |
PerlMonks |
Re^2: Length of unpacked string for "hex" databy SirBones (Friar) |
on Apr 24, 2006 at 22:52 UTC ( [id://545423]=note: print w/replies, xml ) | Need Help?? |
Thanks, very cool. And I like the dispatch table trick as well; seems I have another app where that will be useful. For the present case I'll stick with your "if"; it's less intrusive than mine. I noticed you used a lower-case "a" in the template:
Meaning to parse on a null-padded string rather than a space-padded one. Is that important here?
Cheers,
"This bounty hunter is my kind of scum: Fearless and inventive." --J.T. Hutt
In Section
Seekers of Perl Wisdom
|
|