Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-07-29 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls