in reply to Passing Any Range of Values to a Sub
2. something more functional?eval join ('*', @list);
this is the POD example.$x = foldl { shift() + shift() } 0, [1..6]; # 21
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Passing Any Range of Values to a Sub
by Anonymous Monk on Jul 02, 2003 at 07:19 UTC |