This defers the loading of the module until the function is called.
However, It doesn't seem to work for LWP::Simple::get. I think that this is due to the fact that LWP::Simple defines its own import().
--
John.
In reply to Re: Using 'use' away from script start
by jmcnamara
in thread Using 'use' away from script start
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |