Perl: the Markov chain saw | |
PerlMonks |
Re^3: HTML::Template __even__by muba (Priest) |
on Jun 04, 2014 at 18:00 UTC ( [id://1088703]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|