in reply to Re^7: grep, map vs. foreach performance
in thread grep, map vs. foreach performance

Of course has no idea about what (semanticly) it's an alias for. I just had to find a word (or two) for that anonymous array element (since the range operator creates a temporary array, not a list) it represents, which was an index in our case. I thought that was obvious by not naming it $current_index. ;)

It's funny that you even brought this up. Seems like Perl has so much magic that one has to point out: "Well, no, Perl does not really understand what you're doing"...

That aside, I always thought $_ knows far too much! ;)

So long,
Flexx