in reply to Re: Re: Re: do/redo or for(;;): what's Kosher?
in thread do/redo or for(;;): what's Kosher?
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")$ perl -MO=Deparse -e "while(1){die}" for (;;) { die; } -e syntax OK
|
---|
In Section
Seekers of Perl Wisdom