Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Tiny Perl puzzle

by sundialsvc4 (Abbot)
on Jun 06, 2014 at 12:09 UTC ( [id://1089016]=note: print w/replies, xml ) Need Help??


in reply to Tiny Perl puzzle

print (two + two == five) ? ( user == politician) ? "Re-elect me and I will fix it." : "It's not a bug, it's a feature!" : (user == accountant) ? "What do you -want- the answer to be?" : "Don't worry, sonny, no child will be left behind.™" ;

Replies are listed 'Best First'.
Re^2: Tiny Perl puzzle
by LanX (Saint) on Jun 06, 2014 at 13:31 UTC
    Another incorrect Perl puzzle?

    (hint: print greedily loves brackets! :)

    Cheers Rolf

    (addicted to the Perl Programming Language)

Re^2: Tiny Perl puzzle
by Anonymous Monk on Jun 07, 2014 at 07:27 UTC

    (Please mark spoilers accordingly.)

    sundialsvc4, why not honor the OPs request and use spoiler tags?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found