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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: (Mis)Understanding "works"
by tye (Sage) on Feb 25, 2009 at 15:27 UTC | |
by ikegami (Patriarch) on Feb 25, 2009 at 16:03 UTC | |
by tye (Sage) on Feb 25, 2009 at 18:27 UTC | |
by ysth (Canon) on Mar 01, 2009 at 06:28 UTC | |
by Marshall (Canon) on Feb 26, 2009 at 18:59 UTC | |
by Marshall (Canon) on Feb 26, 2009 at 21:47 UTC |
In Section
Seekers of Perl Wisdom