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

Re: Common Perl Idioms

by Eimi Metamorphoumai (Deacon)
on Jul 23, 2004 at 18:20 UTC ( [id://376952]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub in_list { ( $_ eq $_[0] ) && return 1 for @_[ 1 .. $#_ ]; undef;}
    
  2. or download this
    sub in_list {
      for (@_[ 1 .. $#_ ]){
    ...
      }
      undef;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-23 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found