in reply to Re: Adding code to a Perl program without stopping it
in thread Adding code to a Perl program without stopping it

if there are no calls to it

which is why when you use the delete $INC{...}/require technique you generally either only update a set of known volotile modules, or you use a registration processes with a known entry point in the modules.

I use the registration technique to add new task handlers to a distributed task handling system that provides automated build and testing services. It allows me to add or correct task handlers without restarting (currently) six systems.

True laziness is hard work
  • Comment on Re^2: Adding code to a Perl program without stopping it