@rows= ( ([1..10]) x 10 ); foreach $row (@rows) { $output=''; $i=0; foreach $col (@$row) { $output.=$col . ','; $total[$i++]+=$col; } chop($output); print $output,"\n"; } print join(',',@total),"\n";
In reply to Re: Multi-Column Totals
by Skeeve
in thread Multi-Column Totals
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |