Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl closures: internal details.

by moritz (Cardinal)
on Apr 12, 2012 at 09:34 UTC ( #964731=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    sub f {
    ...
    __END__
    CODE(0x18cede8)
    CODE(0x18cede8)
    
  2. or download this
    use 5.010;
    sub f {
    ...
    __END__
    CODE(0x1d5cde8)
    CODE(0x1d5cf98)
    
  3. or download this
    perl -MO=Concise,f -e 'sub f { my $x = shift; sub () { $x } };'
    main::f:
    ...
    6              <0> pushmark sRM ->7
    7              <$> anoncode[CV ""] lRM ->8
    -e syntax OK
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2014-07-10 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls