hydo has asked for the wisdom of the Perl Monks concerning the following question:

I am writing a program that needs to be able to load and unload a plugin type module without halting the program and for the life of me I cant find any way to do this.
I need to be able to load, jump to a function in the module, and then unload the module when the function returns. I have tried various forms of trickery to get this to happen and looked around CPAN but I haven't come up with much. Hopefully someone here has done this before?