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 ( #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? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-12-08 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?