instead ofdo "my_module.pm";
I think that does the clobber of %INC and forces the reload. My guess is that this differs from eval "$source" solution you mention only in that I'm actually reading the module from disk each time with the "do" solution.use my_module;
In reply to Re^2: Timing a Module Load
by geekondemand
in thread Timing a Module Load
by geekondemand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |