in reply to Re^3: (Mis)Understanding <c>grep...eq $_<c>
in thread (Mis)Understanding grep...eq $_
So, YES grep{} is meant to process/filter lists! I would argue that putting this push statement inside the grep is a weird thing to do.
Obviously processes/filters lists. Obviously a weird thing to do. Jethro said grep also works on arrays, not just lists, and I was demonstrating that it only works on lists.
In Section
Seekers of Perl Wisdom