Hope that helps :)while (<F>) { ($siteID, $siteAge, $siteDistance) = (split/,/)[0,1]; $hash{$siteID} += $siteAge; $tot += $siteAge; } print $tot, "\n";
In reply to Re: Simple Totals Example (Help Needed)
by rhesa
in thread Simple Totals Example (Help Needed)
by doctormaze
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |