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

Re: Why is perl spending so much time in the BEGIN section?

by Anonymous Monk
on Jun 08, 2002 at 20:43 UTC ( [id://172836]=note: print w/replies, xml ) Need Help??


in reply to Why is perl spending so much time in the BEGIN section?

I don't know because your slow code could be many places inside of the module. It could be pretty much anything you are doing when you just execute the module, opening a database connection, initializing variables, etc.

Just try to use SE::Util::Func and see how slow that is, then put print statements in the module to see where it gets to in a hurry, and where it slows down.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found