Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Getting a code ref to main

by diotalevi (Canon)
on Nov 19, 2002 at 04:47 UTC ( #214030=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use B 'main_cv';
    use B::Deparse;
    ...
      $text = ' ' x $_;
      $text =~ $qr;
    }
    
  2. or download this
    __SIG__
    use B;
    printf "You are here %08x\n", unpack "L!", unpack "P4", pack
      "L!", B::svref_2object(sub{})->OUTSIDE;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-07-31 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls