This software converts HTML::Template files into executable Perl code, providing an efficient template system.
Additionally, this module can generate Perl files to allow for faster loading times in the future.
This system performs best in applications using mod_perl. Without any caching, however, it can be very slow compared to other templating modules like TT.
While HTML::Template::Compiled::Lazy may be suitable for CGI environments, this feature has yet to be thoroughly tested.
Please note that HTC uses a lot of memory due to keeping all template objects in memory, so it may be beneficial to preload templates at server startup to ensure they are in shared memory.
Be aware that generating code and writing it on disk can pose security risks, so refer to the "SECURITY" section to learn how to protect yourself.
If you don't need the additional features offered by HTML::Template::Compiled, then using HTML::Template may be a better choice.
You can use HTML::Template::Compiled->preload($dir) for preloading templates.
If you have any questions or bug reports, please send them directly to the developer instead of Sam Tregar. The SYNOPSIS section provides examples of how to use HTML::Template::Compiled.
Version 0.93: N/A