http://www.perlmonks.org?node_id=1088703


in reply to Re^2: HTML::Template __even__
in thread HTML::Template __even__

Sure it would. You'll need two different classes, and then inside the loop select one of them using the TMPL_IF __even__ and __odd__ template constructs.