for my $article (@{$data->{article}}) { print $article->{SKU}[0]; }
I recommend perlreftut, it's easier to read and understand for the not-so-experienced.
In reply to Re^3: Having trouble looping through a data structure
by moritz
in thread Having trouble looping through a data structure
by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |