Ok, I'm loading it up as a module now and I've done both, deleting the $INC and reloading it and using module::refresh. However, I keep getting it giving me:
"Subroutine on_public redefined at XXXX"
This is the same error as before. Do I need to scrap or reload the subroutines as well? If so, how? | [reply] |
Try this, but do _not_ delete $INC{xx} if you use this module.
# somewhere at the top
my $refresher = Module::Refresher->new;
....
{
no warnings 'redefine';
$refresher->refresh_module('module_name');
}
| [reply] [d/l] [select] |