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

Re^2: Perl Idioms Explained - !!expr

by broquaint (Abbot)
on Jul 14, 2004 at 13:17 UTC ( #374293=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      return grep { $_ eq $_[0] } @_[ 1 .. $#_ ];
    
  2. or download this
      return ~~grep { $_ eq $_[0] } @_[ 1 .. $#_ ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2015-05-24 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (473 votes), past polls