in reply to Re: grep { } positional number of element
in thread grep { } positional number of element

Seconding the style condemnation; similarly using map would be just as incorrect.

Use grep to filter, map to transform, and for to iterate (or one of the List::* modules for anything else more specialized like a reduce).

The cake is a lie.
The cake is a lie.
The cake is a lie.