in reply to Looping a multi-dimensional array
You simply forgot to dereference the array:
|| | vv v foreach my $event (@{$xml->{event}}) { print "$event->{venue_code}<br/>"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Looping a multi-dimensional array
by Anonymous Monk on Oct 20, 2004 at 15:34 UTC |