Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Perl vs. Python: Looking at the Code

by buckaduck (Chaplain)
on Apr 03, 2002 at 18:56 UTC ( [id://156389]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if listElement in aList:
       ... do stuff ...
    
  2. or download this
    # Do stuff if $list_element is in @a_list
    if ($list_element =~ @a_list) {
    ...
      # If not in @a_list, what about @other_list ?
      when @other_list  { ... do stuff ... }  
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-18 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found