It makes operations on deeply nested structures a bit more readable.use List::Util qw(sum); ... for my $href ( @set ) { $totals[ $_ ] += sum @{ $href->{items} } } ...
In reply to Re^2: performing a function on corresonding array elements
by codeacrobat
in thread performing a function on corresonding array elements
by vindaloo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |