in reply to Adding code to a Perl program without stopping it
If you're running on Unix, you can send a signal (kill) which your process catches. The signal handler reads a file which contains a list of modules and versions which should be loaded, and compares those with what actually is loaded, and loads / reloads the missing ones.
On the other hand, loading your whiz-bang "Divide-by-zero" module is little benefit if there are no calls to it.
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Adding code to a Perl program without stopping it
by GrandFather (Saint) on Mar 27, 2011 at 20:04 UTC |