parse-wormedit: declare hardcoded bytes in unpackf template
authorMischa Poslawsky <wormy@shiar.org>
Tue, 3 Mar 2009 14:00:08 +0000 (15:00 +0100)
committerMischa Poslawsky <wormy@shiar.org>
Wed, 4 Mar 2009 14:28:21 +0000 (15:28 +0100)
commit5f543f9395f3a885ee9b751e98d069b9ed54f885
treed1a4ddd4632026301fb743cefde59859c2be5d93
parentaac9f02cab2d03379669c2f278d62330151d44e0
parse-wormedit: declare hardcoded bytes in unpackf template

Recognise a new template value '=$N' (where $N is any number) in
Parse::Binary::Nested to insert a hardcoded value instead of reading it.
This allows object structures of v90 files without type declarations to
be returned in the same format as newer versions.  Still requires some
custom merging of the multiple arrays afterwards, but this may be solved
later on.
Parse/Binary/Nested.pm
parse-wormedit