Parse::Binary::Nested: simple non-OO unpackf
authorMischa Poslawsky <wormy@shiar.org>
Tue, 3 Mar 2009 22:15:53 +0000 (23:15 +0100)
committerMischa Poslawsky <wormy@shiar.org>
Wed, 4 Mar 2009 15:16:04 +0000 (16:16 +0100)
commitf4886cc6c2159afd00025585fcc6ea7aac820391
treed4346d8fda9b47b536ecb49f168b5486a873926f
parentce0df5c87882d5275a22ab3bb3f5642c577927b6
Parse::Binary::Nested: simple non-OO unpackf

Make the unpackf method callable without an object, taking a template
array instead.  This turns it into a simple superset of CORE::unpack()
for most usage.  The object-oriented syntax is still supported for
reusable parsing (saves reparsing the template on each call, so should
also be slightly faster).
Parse/Binary/Nested.pm
parse-wormedit
t/parser.t