in reply to eval BLOCK with runtime-loaded code?

I would like to benefit from the speedup, but also be able to initialize these anonymous subroutines at startup of the script...

Sort of like modules?

  • Comment on Re: eval BLOCK with runtime-loaded code?

Replies are listed 'Best First'.
Re^2: eval BLOCK with runtime-loaded code?
by PetaMem (Priest) on Jul 24, 2005 at 14:01 UTC
    Sort of like modules?

    No. Sort of like persistent cgi scripts. Corions answer was exactly what I was looking for. It gave a speedup of 22!

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU