in reply to Re: Reading nested records in binary data
in thread Reading nested records in binary data

Well, I tried that code for unpack, and I get an error -
 Invalid type in unpack: '(' at code.pl line 98
. Is that the correct syntax for the template?
  • Comment on Re^2: Reading nested records in binary data

Replies are listed 'Best First'.
Re^3: Reading nested records in binary data
by duff (Parson) on Mar 10, 2006 at 00:49 UTC

    Older versions of perl don't understand ( in pack/unpack templates. I believe that template syntax was introduced in perl 5.8.