Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Perl Idioms Explained - !!expr

by broquaint (Abbot)
on Jul 14, 2004 at 12:56 UTC ( [id://374287]=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub is_in_list {
      return !!grep { $_ eq $_[0] } @_[ 1 .. $#_ ];
    ...
    __output__
    
    baz is in list
    
  2. or download this
      use Data::Dumper;
    
    ...
    
      $VAR1 = '';
      $VAR1 = '1';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found