Not really no. If possible, the best solution is to keep the program running all the time. (See for example, mod_perl)
is it sane to do that?
It's not going to be much faster (and quite possibly slower) than just compiling the modules at run-time. If you don't use all the modules all the time, you might get better results by using require and/or Autoloader to load code when you need it instead of all at once.
Snippets of code should be wrapped in
<code> tags not<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).