Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Short and easy way to write if...elsif syntax

by LanX (Chancellor)
on Aug 28, 2012 at 08:58 UTC ( #990181=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      for ($given){
        print "\nFOR($_):";
    ...
        if (/xyz/) { print "xyz" ;next}
        print "default";
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990181]
help
Chatterbox?
[stevieb]: LanX your consideration points are being considered.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-03-27 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.