in reply to Re^4: Code Works But Not Sure How (updated)
in thread Code Works But Not Sure How
I wasn't sure how to access it. I was look at it strictly as {$menu_items = []}.
Have a look at perlreftut (and for details, perlref): An array reference can always be dereferenced with @{...}, so in this case foreach my $item ( @{ $items->{menu_items} } ).
In Section
Seekers of Perl Wisdom