tomazos has asked for the wisdom of the Perl Monks concerning the following question:
How can I replace this function with a built in?sub addup { my $total = 0; $total += $_ foreach @_; return $total; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re: addup function?
by Ovid (Cardinal) on Jul 19, 2001 at 00:38 UTC | |
|
Re: addup function? => use Inline!
by grinder (Bishop) on Jul 19, 2001 at 02:12 UTC | |
|
Re: addup function?
by archon (Monk) on Jul 19, 2001 at 00:38 UTC | |
by tomazos (Deacon) on Jul 19, 2001 at 00:55 UTC | |
by archon (Monk) on Jul 19, 2001 at 01:07 UTC | |
by ar0n (Priest) on Jul 19, 2001 at 02:00 UTC | |
by tomazos (Deacon) on Jul 19, 2001 at 02:58 UTC |