Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: ?: = Obfuscation?

by brig (Scribe)
on Dec 01, 2006 at 22:44 UTC ( [id://587323]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # When their name is...                    Address them as...
    
    ...
                   : $name =~ m/(.*), \s+ Ph[.]?D \z     /xms ? "Dr $1"
                   :                                            $name
                   ;
    
  2. or download this
    $conditional ? foo() : bar();
    
  3. or download this
    $conditional ? foo($arg_1) : foo($arg_2);
    
  4. or download this
    $conditional ? $foo++ : $foo += 2;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-24 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found