Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Perl closures: internal details.

by moritz (Cardinal)
on Apr 12, 2012 at 09:34 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://964731]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-18 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found