Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Using ternary operator as lvalue in push

by FunkyMonk (Chancellor)
on Aug 01, 2007 at 10:38 UTC ( [id://630013]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my(@a) = (1, 2, 3);
    my(@b) = (4, 5, 6);
    push @a, 'foo';
    print "a=@a b=@b\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found