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.
In reply to Re: Timing a Module Load
by Fletch
in thread Timing a Module Load
by geekondemand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |