On Wed, Jan 05, 2005 at 01:07:14PM -0500, Perrin Harkins said:
> No, but the COMPILE_DIR option means that at least the "compile to perl"
> step will be skipped.  If there was a way to store compiled perl code
> and load it faster, it would be used in all kinds of modules.

B::Bytecode?

"This compiler backend takes Perl source and generates a
platform-independent bytecode encapsulating code to load the internal
structures perl uses to run your program. When the generated bytecode is
loaded in, your program is ready to run, reducing the time which perl
would have taken to load and parse your program into its internal
semi-com- piled form. That means that compiling with this backend will
not help improve the runtime execution speed of your program but may
improve the start-up time.  Depending on the environment in which your
program runs this may or may not be a help."


Another way to get mod_perl style persistence in a non web environment 
might be to use PPerl (Persistent Perl) which is on CPAN.





_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to