in reply to Timing a Module Load
For one thing, use happens at compile time so you're not really timing anything with your code. What you'd really want to do is use require instead and clobber the corresponding entry in %INC before attempting to reload.
Update: Alternately, load the module source into a scalar and use eval "$source" instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Timing a Module Load
by geekondemand (Scribe) on Apr 29, 2005 at 20:00 UTC |