On 8/12/05, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > I want all of my templates in the apache process - they're going to be > reused constantly and if they need to be changed i have no problem > doing a graceful restart.
my $TemplateCache; BEGIN{ opendir TD, "./templates.d"; for(readdir TD){ -f "./templates.d/$_" or next; $TemplateCache{$_} = slurp "./templates.d/$_"; # there are several slurpers on cpan }; }; I appear to be well on the way to describing yet another templating engine :)