Is there a way to force the module to "unload".
I would presume that a use statement which falls out of scope would automatically "unload" the module:
#!/usr/bin/perl -w use strict; { use Date::Manip; } print Date::Manip::UnixDate(localtime);
However the above code parses and runs without error, indicating that use isn't limited to a particular scope. Can someone explain why modules aren't (or at least do not appear to be) limited by scope?
In reply to Re: Timing a Module Load
by eibwen
in thread Timing a Module Load
by geekondemand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |