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

Re^3: perltidy for ternary operator?

by LanX (Cardinal)
on Dec 06, 2014 at 19:06 UTC ( #1109433=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    lanx@lanx-1005HA:~$ cat /tmp/tst.pl
    
    ...
        : $val_for_none;    #own linebreak
    
    my $var2 = $condition ? $val_for_true : $val_for_none;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-03-08 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (123 votes). Check out past polls.

    Notices?