in reply to Re: Simple question about foreach and my.
in thread Simple question about foreach and my.
orforeach my $var (@array) { my $other_var = .... etc. }
my $other_var; foreach my $var (@array) { $other_var = .... etc. }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Simple question about foreach and my.
by davorg (Chancellor) on Mar 27, 2001 at 20:29 UTC |