Dan Anderson wrote:
>
> Is it possible to cache Perl compilations on a web server so that it
> runs faster?

Hi Dan.

It depends why you're compiling at run time. Something like

  my $sub = eval 'sub { 9 + 9 }';

  print $sub->(), "\n";

will stay compiled as long as you have $sub as a reference.
Obviously you can build the 'eval'ed string how you like before
it's compiled.

HTH,

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to