Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: $1 not "freezing" in an addition

by ikegami (Pope)
on Dec 16, 2012 at 14:44 UTC ( #1009071=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $_ = 3;
    print sub :lvalue { print "$_+";       $_ }->() +
          sub :lvalue { print "10="; ++$_; 10 }->(), "\n";
    
  2. or download this
    3+10=14
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009071]
help
Chatterbox?
NodeReaper stumbles on his way to the attic

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-07-21 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.