in reply to Re: Re: for ( ; ; ) vs for ( .. )
in thread for ( ; ; ) vs for ( .. )
So the answer would be yes. As to whether there's extra scope overhead, well, we'll leave that as an exercise for the reader.$ perl -MO=Deparse -e 'for ($x = 0; $x < 10; $x++) {}' $x = 0; while ($x < 10) { (); } continue { ++$x }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: for ( ; ; ) vs for ( .. )
by lestrrat (Deacon) on May 23, 2002 at 22:09 UTC | |
by Elian (Parson) on May 24, 2002 at 01:02 UTC | |
|
Re: Re: Re: Re: for ( ; ; ) vs for ( .. )
by demerphq (Chancellor) on May 24, 2002 at 08:55 UTC | |
by Elian (Parson) on May 24, 2002 at 20:04 UTC | |
by demerphq (Chancellor) on May 25, 2002 at 19:52 UTC |