http://qs1969.pair.com?node_id=475247


in reply to Re: Parsing complex data
in thread Parsing complex data

The structure of your input data also seems pretty hosed to me, but I could be missing something... shouldn't it be something closer to:
my $data = [ mykey1 => { 'firstkey' => 'firstvalue', 'secondkey' => 'secondval' + }, mykey2 => { 'ninza' => 'turtle', 'Hurricane' => 'Dennis' }, + mykey3 => [ [ 'one', 'two', 'three' ] ], mykey4 => [ [ 4, 5, 'three' ], [ 6, 7, 'four' ], [ 8, 9, 'five' ] +], ];