Just another Perl shrine | |
PerlMonks |
Re^3: Hard syntax error or disambiguable parsing?by rovf (Priest) |
on Jan 29, 2009 at 09:02 UTC ( [id://739825]=note: print w/replies, xml ) | Need Help?? |
for $i ( 0 .. 5 ) is not a foreach loop May I ask you in what way and differ, according to your opinion? perlsyn says The "foreach" keyword is actually a synonym for the "for" keyword, so I don't see how you came to the idea that the for loop your mention, would not be a foreach loop. Did I miss something here?
-- Ronald Fischer <ynnor@mm.st>
In Section
Seekers of Perl Wisdom
|
|