Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Ternary operators: a hinderance, not a help

by eric256 (Parson)
on Aug 09, 2005 at 19:14 UTC ( [id://482382]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $objects = $items == 1 ? "object" : "objects";
    print "You have $items $objects. What would you like to do with your $
    +objects?";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-16 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found