in reply to module problems

If I understand you correctly, you want to reload a module. The basic mechanics of doing that is to delete the module's key in %INC and then require it again:
use Temp; ... delete $INC{'Temp.pm'}; require Temp; # reloads the Temp.pm module
See also Module::Reload and Module::Refresh in CPAN.