Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: filtering an arrayby swampyankee (Parson) |
on Sep 02, 2012 at 01:35 UTC ( [id://991223]=note: print w/replies, xml ) | Need Help?? |
Well, what have you tried? There is, of course, more than one way to do this. One way is to use grep:
which is, in essence,
I tend to use parenthesis where perl's syntax doesn't require them, but that's just me. I find they frequently improve readability.
In Section
Seekers of Perl Wisdom
|
|