On Sat, 17 Apr 2004, Andy Wardley wrote: > In addition, you could stick something like this in a PRE_PROCESS template > to check the date automagically: > > preproc: > [% USE ValidDate; > > IF ValidDate.check(template.date_first_pub); > # OK > ELSE; > THROW date "$template.date_first_pub is not a valid ISO8601 date"; > END; > %] >
I'll remember that. As usual with all things perl it seems that TMTOWTDI still holds. It's back to the drawingboard for me. I'm rethinking my aproach now and will start building a custom frontend later today I hope. Grx HdV P.S. Thanks for creating the wonderful tool that I slowly am getting a grasp of. _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
