Hello. It looks like Apache::Template hasn't been updated in a while. Could I possibly request an update? I know of at least one patch (posted by Darren) that hasn't been incorporated into the release version:
http://lists.ourshack.com/pipermail/templates/2002-September/003686.html Perhaps there are others. The above patch came as a result of a request I made to have the ability to use EXPOSE_BLOCKS in an Apache::Template context. I haven't been keeping a list, but I imagine there could be other, new configuration parameters that aren't yet implemented in (but could be relevant to) Apache::Template 0.06. Also, I am wondering if there is anything magic about the sequence of these two things in Apache::Template 0.06 (in handler()): my $template = $SERVICE->template($r); return $template unless ref $template; my $params = $SERVICE->params($r); return $params unless ref $params; In my local copy of Apache::Template, I've switched the order of these two so that $params gets set before $template. I did this because of the (admittedly convoluted) way my application works, namely that the template I'm going to use is actually found in one of $params values. I can't imagine an instance where getting the $params hash would depend on the $template being used, but I've obviously created a situation where the reverse can be true. For purely selfish reasons, I'd like to see $params get set before $template, but if it only really benefits me, then I'll just keep patching Apache::Template when I need it (for this application, at least--I've learned my lesson and not built subsequent applications this way). But if it makes more sense the other way around, perhaps it's something that can be patched for future releases. I don't have much experience with creating patches, but if there's something I can do to help prepare a new release (to include at least the EXPOSE_BLOCKS patch), I'm glad to help. Thanks, Dave /L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\ Dave Cash Power to the People! Frolicking in Fields of Garlic Right On-Line! [EMAIL PROTECTED] Dig it all. _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
