in reply to Re: Forcing a PERL script to reload libraries
in thread Forcing a PERL script to reload libraries

Yay!! A simple

$SIG{HUP}=sub {
    delete $INC{"MyRoutines.pl"};
    require "MyRoutines.pl";
}

did the trick! Thank you! I didn't realize you could just modify that hash.

Btw, I'm the same poster as the original question, I just decided to create an account :)

  • Comment on Re: Re: Forcing a PERL script to reload libraries