in reply to Rook question
another solution:
Couldn't resist... :-)sub total { my $sum =0; map { $sum += $_ } @_; return $sum; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Rook question
by Anonymous Monk on Oct 18, 2012 at 17:18 UTC | |
by squimby (Acolyte) on Oct 19, 2012 at 00:40 UTC | |
by blue_cowdawg (Monsignor) on Oct 19, 2012 at 13:34 UTC | |
by Anonymous Monk on Oct 19, 2012 at 17:16 UTC |