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

Re^2: Order of evaluation/interpolation of references (alias vs copy)

by LanX (Saint)
on Mar 07, 2012 at 21:49 UTC ( [id://958370]=note: print w/replies, xml ) Need Help??


in reply to Re: Order of evaluation/interpolation of references (alias vs copy)
in thread Order of evaluation/interpolation of references

I think you're right!
lanx:/tmp$ perl -MO=Deparse,-p,-q -e 'print "${X()} ${X()}\n"' print((((${X();} . ' ') . ${X();}) . "\n")); lanx:/tmp$ perl -MO=Deparse,-p,-q -e 'print "${X()}${X()}\n"' print(((${X();} . ${X();}) . "\n"));

Cheers Rolf

  • Comment on Re^2: Order of evaluation/interpolation of references (alias vs copy)
  • Download Code

Log In?
Username:
Password:

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

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

    No recent polls found