in reply to Loading/Unloading perl modules

no module;
removes the imports of the module. I don't know if it frees memory too.
Have a look at perldoc -f use.

Replies are listed 'Best First'.
Re: Re: Loading/Unloading perl modules
by philou (Beadle) on Sep 27, 2001 at 14:22 UTC
    I gave a try at that...

    It works fine for standard pragmas, but requires an unimport function to exist in the package to unload. That does not work for XML::DOM, or even Shell...