> I would like to use SWITCH and CASE to choose what I output > to a page I'm > creating using a template. > > Following the manual, I have written the following: > > [% SWITCH STAR_DETAIL.instrument %] > [% CASE NONE %]
I guess you want [% CASE 'NONE' %] and [% CASE 'READ' %]. If this wont work, plase show us perl code where you prepare variables for 'process' method. -- Sergey Martynoff _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
