chanakya has asked for the wisdom of the Perl Monks concerning the following question:
Greetings
I have a complex data structure as given below
Can someone throw some light about the same.
I have a complex data structure as given below
I've tried to get the output as given below from the above data structure but I'm not successful.@data_array_ref = [ mykey1 => {firstkey => 'firstvalue', secondkey => 'secondval' } mykey2 => {ninza => 'turtle', 'Hurricane' => 'Dennis'} mykey3 => [ [one,two, three] mykey4 => [ [4, 5, three] [6, 7, four] [8, 9, five] ] ]
Can someone throw some light about the same.
Thank you in advancemykey1 => firstval, secondval mykey2 => turtle, Dennis mykey3 => one, two, three mykey4 = 4, 5, three, 6, 7, four, 8, 9, five
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Parsing complex data
by Limbic~Region (Chancellor) on Jul 15, 2005 at 15:13 UTC | |
by socketdave (Curate) on Jul 15, 2005 at 15:19 UTC | |
by ikegami (Patriarch) on Jul 15, 2005 at 15:38 UTC | |
by Limbic~Region (Chancellor) on Jul 15, 2005 at 15:41 UTC | |
Re: Parsing complex data
by tcf03 (Deacon) on Jul 15, 2005 at 15:26 UTC | |
Re: Parsing complex data
by themage (Friar) on Jul 15, 2005 at 15:57 UTC | |
Re: Parsing complex data
by sh1tn (Priest) on Jul 15, 2005 at 15:56 UTC |
Back to
Seekers of Perl Wisdom