Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Why does Devel::DProf report so much time in BEGIN?

by mikfire (Deacon)
on Aug 06, 2001 at 21:14 UTC ( [id://102513]=note: print w/replies, xml ) Need Help??


in reply to Why does Devel::DProf report so much time in BEGIN?

Without seeing your code, but having spent some time with Devel::DProf myself, I will guess that you are use'ing a number of modules.

If I remember correctly,

use foo;
is implemented as
BEGIN { require foo; import foo; }
So, even though you are not explicitly using BEGIN blocks, you are using them implicitly through any use statements.

I would delve into the correct manpages and verify my memory, but I am far from any machine with perl installed on it :( And I have no ssh to get to a machine I could so use.

mikfire

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2025-06-21 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.