in reply to Re: catastrophic near misses in Perl
in thread catastrophic near misses in Perl

There is a difference between "for" and "foreach", but it really doesn't matter in this example

Care to elaborate? perlsyn#foreach says

The "foreach" keyword is actually a synonym for the "for" keyword, so you can use "foreach" for readability or "for" for brevity.