for (@reports) { print "section is: $_\n" for split /,/, @{$rpt{$_}}; } for (@reports) { print map { "section is: $_\n" } split /,/, @$rpt{$_}; }
In reply to Re: Need more elegant solution
by Anonymous Monk
in thread Need more elegant solution
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |