Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Accessing lexically scoped variables from a subref

by /dev/urandom (Beadle)
on Dec 28, 2007 at 01:26 UTC ( [id://659281]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $i = 12;
    $a = sub { $i };
    
  2. or download this
    B::svref_2object($a)->PADLIST->ARRAYelt(1)->ARRAYelt(1)->SV->object_2s
    +vref
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-18 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found