I agree. Some better error reporting all around.
If something is wrong with the code I used, then post correction on Perl Monk and make
it work. :) That is all I used.
----- Original Message -----
From: "Sam Tregar" <[EMAIL PROTECTED]>
To: "Dave Van Abel" <[EMAIL PROTECTED]>
Cc: "Doc" <[EMAIL PROTECTED]>; "Brian McCain" <[EMAIL PROTECTED]>; "Kenny
Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 11, 2002 12:04 AM
Subject: Re: [htmltmpl] Error code.
> On Thu, 10 Oct 2002, Dave Van Abel wrote:
>
> > I generally don't get in these fights, but now I am.
> >
> > H-T is not stupid. I have used it for 3 yrs (including DBI) without one
> > problem.
> >
> > Reconsider your statement.
>
> Hey, everybody calm down. HTML::Template is not going to have its
> feelings hurt by being called stupid. It knows it's the best designed and
> fastest templating engine on the planet. Actually, if a few insults would
> make it stop parading around my apartment wearing that pathetic "King Of
> Templating" crown it made out of tin-foil, that would be an improvement.
>
> But seriously, is HTML::Template "stupid"? Probably. Most software is
> stupid and making it smart isn't easy. I've actually been meaning to go
> into param() and make some tweaks to produce better error messages in the
> most common user-error cases. It could point out that "undef" had been
> passed in for a <TMPL_LOOP>, for example. Or it could automatically
> detect this common error:
>
> my %row;
> my @loop;
> while (...) {
> push(@loop, \%row);
> }
> $template->param(LOOP => \@loop);
>
> by checking to make sure all the rows in a loop aren't pointing to the
> same hash.
>
> -sam
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users