Perrin Harkins <[EMAIL PROTECTED]> writes:
>> Template::Plugin::Directory is a good start, but unfortunately it has
>
> I'd suggest you just hack this plugin to do what you want.
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.
So I'm afraid I'll have to provide {fixed,hacked,enhanced} versions of
some standard plugins with the package...
OTOH, what disaster would result from adding a tactical chdir to the
ttree program so that it processes a template in the directory where
the template reside?
-- Johan
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates