Basically:

sub one()

That builds two templates out an HTML and TEXT one.

sub two()

That does a bunch of sql...passes some args to sub one() like:

one (
   one => $var1,
   two => $var2,
);


Because I am building 2 types of emails...I have 2 $template->process 
commands and because it is in a loop and I have 5 users, I get five 
error message when a template is incorrect.

What I would like to do is catch the errors and only pass the unique 
ones to STDERR.

I am not sure if that is enough to go on.

Robert




_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to