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

Hello Monks,

I am writing a small app that needs to be able to use modules on command. Each module has the same set of subs but they all do their duties diffrently. The problem I am facing is that I seem to be able to only require a file once. For instance:
# Both modules have todo(); require "/path/to/"; # sets todo() require "/another/pathto/"; # overwrites todo() require "/path/to/"; # doesn't do anything
still leaves me using the diffrent module. How can I reload a module? Please enlighten me!