in reply to How to store CODE ref
I believe this was tried with the bytecode loader and gave no significant performance improvement. You should try to use one of the many systems that lets you load perl code once and keep it in memory, like mod_perl, FastCGI, SpeedyCGI, PerlEx, Velocigen, etc.