X-Git-Url: http://git.shiar.net/wormy.git/blobdiff_plain/3f547138025ead9303d443e1d41e5e4c884c570d..f04e498ba1f784b233dacfa014f1c0c4f8040d37:/Parse/Binary/Nested.pm diff --git a/Parse/Binary/Nested.pm b/Parse/Binary/Nested.pm index db5e208..e4cacc3 100644 --- a/Parse/Binary/Nested.pm +++ b/Parse/Binary/Nested.pm @@ -50,6 +50,9 @@ sub convert { elsif ($template =~ /^Ca/) { $data->[0] = unpack 'C/a', $data->[0]; } + elsif ($template =~ /^(?:[xX]\d*)*$/) { + next; # no values + } $res{$field} = shift @$data; } return \%res;