Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl Idioms Explained - !!expr

by broquaint (Abbot)
on Jul 14, 2004 at 12:56 UTC ( #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
Node Status?
node history
Node Type: perltutorial [id://374287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-07-26 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls