in reply to reloading of module

You can also use Module::Reload or Module::Refresh.
Boris

Replies are listed 'Best First'.
Re^2: reloading of module
by £okì (Scribe) on Dec 31, 2004 at 15:03 UTC
    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?
      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'); }
      Boris