in reply to reloading a never-ending process

What about do or eval ?

You will probably have to watch where you store the data you want to keep, and that the newly loaded code doesn't re-initialize the variables.

update: to clarify:

our $IMPORTANT_DATA; $IMPORTANT_DATA = "Initial value" unless defined $IMPORTANT_DATA;
or something like that.

If the data is so important, I'd keep it on disk anyway.