Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to (Mis)Understanding grep...eq $_

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,

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://745913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-23 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found