Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: (Mis)Understanding <c>grep...eq $_<c>by trwww (Priest) |
on Feb 24, 2009 at 06:47 UTC ( [id://745913]=note: print w/replies, xml ) | Need Help?? |
To reiterate what ysth is saying... unless ( grep $person_has eq $_, $item ) { ... } is identical to: unless ( $person_has eq $item ) { ... } except that it is slower and harder to read. regards,
In Section
Seekers of Perl Wisdom
|
|