Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Wojciech Pietron <wojtek@it...>  20030707 14:46:51

Hi, I want to output a matrix with HTML::Template. The matrix has n rows (n>5) and m columns (m>5). For example: $matrix = [ {one=>1, two=>2, three=>3, ..., m=>m}, {one=>10, two=>20, three=>30, ..., m=>m*10}, {one=>100, two=>200, three=>300, ..., m=>m*100}, ... ] Now I want to have pth (0<p<m) column of my matrix specially formatted in the HTML output. p is a parameter I want to dynamically pass to the subroutine during CGI execution. Is there a way to create a template that lets me format pth column? (kind of <TMPL_IF "__counter__P">  do it if __counter__ minus p is true) Thank you in advance, wojtek 