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 }
In reply to Re: Re: Re: for ( ; ; ) vs for ( .. )
by Elian
in thread for ( ; ; ) vs for ( .. )
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |