in reply to Modify array elements inside for loops
local @a = (1 .. 9); # How can I use my here { for my $e (local @a) { $e += 1; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Modify array elements inside for loops
by merlyn (Sage) on Mar 06, 2001 at 21:36 UTC | |
by arhuman (Vicar) on Mar 06, 2001 at 21:49 UTC |