On Thu, 2003-06-05 at 16:03, Perrin Harkins wrote:
> Actually, the include path has always been a dynamic option in TT2.  It
> wasn't very obvious until recently though.

coming back to an old thread...

can i do something like 

  $tt->include_path(['/here/', '/over/here']);

rather than providing a subroutine or object reference when the tt
object is created (as documented here:
http://www.template-toolkit.org/docs/plain/Manual/Config.html#Template_Files_and_Blocks)?

the former would make my code a little less spaghetti-like

alex

-- 
alex <[EMAIL PROTECTED]>


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to