in reply to problem : return an array list
foreach ( @array1, @array2, @array3) { ... }
And perl will step through all the arrays in turn. Also works in function calls and any other place where perl expects an array. Nifty, eh?
Update: Will work everywhere Perl expects a LIST. Juerd explains below.
____________________
Jeremy
I didn't believe in evil until I dated it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: problem : return an array list
by Juerd (Abbot) on Mar 31, 2002 at 15:00 UTC |