Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: if else in the other way

by biohisham (Priest)
on Oct 02, 2010 at 13:28 UTC ( [id://863071]=note: print w/replies, xml ) Need Help??


in reply to Re^2: if else in the other way
in thread if else in the other way

I agree ;), and I agree that this is debatable, I am a fan of not repeating commands while using a ternary operator too, in fact, avoiding ternary operators all together should my code be maintained by someone else, however, my answer was relative to this simple requirement put forth by the OP, breaking jwkrahn's reply down for him/her.


Excellence is an Endeavor of Persistence. A Year-Old Monk :D .

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2026-02-07 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.