CodeJunkie has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
Can anyone tell me how I can loop through this data structure.
I have a structure like this, formed by using XML::Simple to read an XML file. I want to be able to find out how many itemcode values there are in the array.
$config->{bids}->{itemcode}->[0] $config->{bids}->{itemcode}->[1]
Can anyone help me out, i'm not too good with references and finding out how to access the values stored in them.
cheers
Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: References Looping
by VSarkiss (Monsignor) on Apr 06, 2003 at 23:16 UTC | |
|
Re: References Looping
by perlplexer (Hermit) on Apr 06, 2003 at 23:14 UTC | |
|
Re: References Looping
by Your Mother (Archbishop) on Apr 07, 2003 at 08:28 UTC | |
|
Re: References Looping
by JamesNewman (Initiate) on Apr 07, 2003 at 18:21 UTC | |
|
Re: References Looping
by signal9 (Pilgrim) on Apr 07, 2003 at 21:32 UTC |