in reply to Re: perl xml and array issue
in thread perl xml and array issue

So easy...and yet I couldn't figure this out on my own.

This simple solution worked wonderfully!

Thanks a ton, vroom

Replies are listed 'Best First'.
Re^3: perl xml and array issue
by fisher (Priest) on Nov 18, 2010 at 15:53 UTC
    look, $products->{colors} is actually a reference to an array. @{ } does dereferencing of a reference. I suggest you to spend 20 mins on perldoc perlreftut. It is small indeed.