Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Getting a code ref to main

by chromatic (Archbishop)
on Nov 19, 2002 at 21:07 UTC ( #214264=note: print w/replies, xml ) Need Help??


in reply to Getting a code ref to main

To my knowledge, it's not really a cv at all, it's just the root op of the optree. The best I can suggest is main_root:

use B 'main_root'; use B::Deparse; my $deparse = B::Deparse->new(); print $deparse->( main_root, 0 );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://214264]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-03-31 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (364 votes). Check out past polls.