in reply to Re^3: creating HTML table
in thread creating HTML table

When you say you read an article on perl.com I assume it was this one. I thought that article was very strange, and it seemed to miss the point of HTML::Template entirely.

It starts from the premise that if you have to use conditionals in HTML::Template, you'll be tearing your hair out, which I've never found to be the case, and it goes on to propose over-complicated solutions which spoil the simplicity, no matter how long-winded, of HTML::Template's approach, and create obscured code which would make it hard for an HTML coder and a Perl coder to work together, one of the key advantages of any good templating system.

Throw in the fact that the someone writing an "Advanced" perl article on perl.com doesn't even know that you can use delimiters other than /// for regexes and the whole effect is decidedly strange.



Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...

Replies are listed 'Best First'.
Re^5: creating HTML table
by GertMT (Hermit) on Jul 16, 2007 at 12:58 UTC
    That was indeed the article I've got part of the code from. I'll have a good study on all replies I go and will be wiser then. To be honest, I currently have almost no hair left as I haven't been able to read in data from a csv file to create a multicolumn table!

    Thanks