On Sun, 2005-01-30 at 09:46 +0100, Johan Vromans wrote: > Yes, TIMTOWTDI. Two problems, though: First, it is not just > Template::Plugin::Directory, it applies to all other file-accessing > plugins as well (File, Image, ...). Second, I need it for a software > package and I cannot require the end users to patch their Template > Toolkit.
You could make a new plugin with a different name based on Directory, but if you need to use it in other places you could also make a plugin that does nothing but return the directory you want for use in other plugins. (At that point it feels too much like programming in the template for me and I would try to find a way to do all this before running the template, but that's a different issue.) - Perrin _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
