Stories
Slash Boxes
Comments
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

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Monday March 17, 2003
05:37 PM

hooray for france! yah boo sucks to H::T

[ #11079 ]
I am working through my inbox giving credit where it is due on the autodia project - I misplaced my last up to date CREDITS file and have had to rebuild it from scratch.

It looks like I have received patches, and contributions as well as example c++, java and php, from about 20 people - most of them C++ programmers from France, a significant number are from Germany and most of the rest are from anglophones (US or UK) who have given into my whining on various related lists and had a play with the code.

On a side note - today I discovered that HTML::TEMPLATE reporting is shockingly shit.. It reported a syntax error on line 30 that turned out to be on line 200 odd. Didn't give any useful information - about as helpful as that rubbish 'error at line 0' message I got a couple of times from vbscript.

Our project at work is really starting to be limited by HTML::Template but we have so much code and HTML invested in it that it is too expensive to move to TT.

When people talk about legacy code you often think of 10 or 20 year old mainframes not 4 or 5 year old HTML and perl scripts or modules.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 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)

    by samtregar (2699) on 2003.03.18 1:00 (#18010) Homepage Journal
    Do you want to file a bug report, or just cry about it? I'm more than happy to work on fixing bugs in HTML::Template but I haven't personally witnessed any problems in the syntax error detection code.

    In case you didn't read the docs, the proper place to report a bug in HTML::Template is here [cpan.org].

    -sam

    • Yeah, I will report an error today.

      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;