nite_man has asked for the wisdom of the Perl Monks concerning the following question:
it's possible to get a value of $_ from first loop or I have to use some variable intead of $_?for(1..10) { for(20..30) { print $_; } }
--------> SV* sv_bless(SV* sv, HV* stash);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loop 'for' and '$_'.
by dragonchild (Archbishop) on Mar 31, 2003 at 16:55 UTC | |
|
Re: Loop 'for' and '$_'.
by Lhamo Latso (Scribe) on Mar 31, 2003 at 17:21 UTC | |
|
Re: Loop 'for' and '$_'.
by roundboy (Sexton) on Mar 31, 2003 at 17:33 UTC | |
|
Re: Loop 'for' and '$_'.
by Coruscate (Sexton) on Apr 01, 2003 at 09:01 UTC |