I wrote a script that returns the contents of the specified path in a table. Currently, I have the code set up as <snippet>:
# display the filenames in a table foreach (sort @filenames) { print "<td align=center><a href=\"/$input{'path'}/$_\">$_</a></td>"; if ( $count % 3 ) { print "</tr><tr>"; } $count++; }
in order to determine if I need to start a new table row.
I am in the process of adding customization to the script but find that when I us a number other than 2 the table rows get messed up. If I use "3", I get: