in reply to Simple Totals Example (Help Needed)
Hope that helps :)while (<F>) { ($siteID, $siteAge, $siteDistance) = (split/,/)[0,1]; $hash{$siteID} += $siteAge; $tot += $siteAge; } print $tot, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simple Totals Example (Help Needed)
by doctormaze (Initiate) on Apr 02, 2006 at 23:06 UTC |