Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Faster way to parse binary streamby Roy Johnson (Monsignor) |
on Jun 19, 2007 at 20:29 UTC ( [id://622097]=note: print w/replies, xml ) | Need Help?? |
I hadn't seen the slash template item before. To quote from the docs:
The / template character allows packing and unpacking of strings where the packed structure contains a byte count followed by the string itself. You write length-item/string-item. Good solution, BrowserUK. Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|