Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: References for ano subs fixed at compile time?

by ikegami (Pope)
on Jun 20, 2013 at 07:30 UTC ( #1039910=note: print w/replies, xml ) Need Help??


in reply to Re: References for ano subs fixed at compile time?
in thread References for ano subs fixed at compile time?

Demonstration:
sub f(&) { my ($cr) = @_; push @keep_alive, $cr; say $cr; } my $x = '...'; f { '...' } for 1..2; f { $x } for 1..2;
CODE(0x3396f4) \ same for non-capturing CODE(0x3396f4) / CODE(0x24b1cc) \ different for capturing CODE(0x338c04) /

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039910]
help
Chatterbox?
[james28909]: nope, i havent written any article about it yet. maybe in the future sometime once i have time for more testing

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2017-05-01 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (544 votes). Check out past polls.