Just another Perl shrine | |
PerlMonks |
(tye)Re2: do/redo or for(;;): what's Kosher?by tye (Sage) |
on Jan 04, 2002 at 22:55 UTC ( [id://136343]=note: print w/replies, xml ) | Need Help?? |
which tells me that Perl considers while(1) and for(;;) to be the same, which means it does optimize for(;;) into a simple infinite loop. - tye (but my friends call me "Tye")
In Section
Seekers of Perl Wisdom
|
|