in reply to Re^4: (Mis)Understanding <c>grep...eq $_<c>
in thread (Mis)Understanding grep...eq $_
grep works just fine on arrays (and other lists). You live in a bizarre world if you interpret "grep works on arrays" to mean "grep is optimized to do something special if passed a single array similar to how foreach (in some versions of Perl) is optimized" (something that you can only detect by doing "weird" things). *shrug*
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: (Mis)Understanding "works"
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