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

Re^3: Using ternary operator as lvalue in push

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


in reply to Re^2: Using ternary operator as lvalue in push
in thread Using ternary operator as lvalue in push

Compile time constant removal magic.

perl -MO=Deparse play produces:

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

/msg self Read ALL the post before replying

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 musing on the Monastery: (4)
As of 2026-04-10 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.