Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: (Mis)Understanding <c>grep...eq $_<c>

by trwww (Priest)
on Feb 24, 2009 at 06:47 UTC ( #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? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2022-01-16 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (49 votes). Check out past polls.

    Notices?