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?? |
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.
In Section
Seekers of Perl Wisdom
|
|