Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Confused by Perl ternary operator

by Anonymous Monk
on Aug 24, 2004 at 13:55 UTC ( [id://385391]=note: print w/replies, xml ) Need Help??


in reply to Re: Confused by Perl ternary operator
in thread Confused by Perl ternary operator

C:>perl -MO=Deparse,-p -e"@_ ? $param2 = 'Shift' : $param2 = shift;" ((@_ ? ($param2 = 'Shift') : $param2) = shift(@ARGV)); -e syntax OK ( ( @_ ? ( $param2 = 'Shift') : $param2 ) = shift(@ARGV) );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-19 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found