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
    Cheers mate, I thought it was something like that but just couldn't remember the syntax... new it was simple though. I will try and remember this time ;-)