That is COOL! I've been using HTML::Template for years, and never knew about loop_context_vars
Thanks. > Then in your .tmpl file, something like this > > <tmpl_loop name='list'> > <tmpl_if name='__ODD__'> > ODD ROW - <tmpl_var name='first_name'> <tmpl_var name='surname'> > <tmpl_else> > EVEN ROW - <tmpl_var name='first_name'> <tmpl_var name='surname'> > </tmpl_if> > </tmpl_loop> > > > Hope that helps > > > --- > Steve Comrie > > > --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
