NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
TT (Score:2, Informative)
I moved about a year ago to TT from H::T and haven't looked back. The extra power is great. I feel that you get a lot better separation of overall presentation and logic if you can move some of the presentation logic out into the template. You can defiantly cut down on lines of code which makes maintenance easier.
The thing I really like about TT is that you can pass any kind of data type; hashes, arrays, objects, functions, etc and use them in your template. It also works nicely with Class::DBI which I am
Bug Report? (Score:3, Insightful)
In case you didn't read the docs, the proper place to report a bug in HTML::Template is here [cpan.org].
-sam
Reply to This
Re:Bug Report? (Score:2)
Sorry to bitch about H::T so much, I think we should have been using TT a long time ago. I don't think H::T is suited to a project of this scale.
when you are looking for a really stupid mistake (and these are the hardest to find as we all know) incorrect or lack of line numbers in error messages are deeply unhelpful.
Bug reported via rt.
I would probably have some problems to bitch about with TT if I used it everyday at work too, but I don't so H::T is going to get b
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;