> How about something like this: > > [% MACRO custom(file) TRY; > PROCESS "custom/$file"; > CATCH file; > # do nothing - missing file is OK > CATCH; > # report error > END > %]
If this works, let me know cause I've try such a code form a long time now with no success at all. Running under mod_perl and perl 5.5, works nearly fine except it keep polluting the log file, and with perl 5.6, just die. Some solutions were given to me with no success. kktos
