Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: in search of a more elegant if then else

by Anonymous Monk
on Feb 18, 2010 at 23:59 UTC ( [id://824065]=note: print w/replies, xml ) Need Help??


in reply to Re: in search of a more elegant if then else
in thread in search of a more elegant if then else

it may be correct syntax, but putting down 5 lines for something that can (now i've read comments) be done in one line seems a bit more elegant to me, and makes the code look a bit nicer.
  • Comment on Re^2: in search of a more elegant if then else

Log In?
Username:
Password:

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

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

    No recent polls found