Just another Perl shrine | |
PerlMonks |
Re: foreach to forby ioannis (Abbot) |
on Jun 19, 2006 at 09:07 UTC ( [id://556207]=note: print w/replies, xml ) | Need Help?? |
As shown bellow, the first for loop
produces fixed iterations, and the second
dives into infinite loop. Although expectations are
not consistent, at least you get to chose which method
to want.
In Section
Seekers of Perl Wisdom
|
|