Re: [htmltmpl] Error code.

2002-10-10 Thread Doc
Skip it. I Got it working from Ben Ausden's code. Now, I get to have fun, play with the code. See what I can do with it and can't do. All I needed was working example. - Original Message - From: "Sam Tregar" <[EMAIL PROTECTED]> To: "Dave Van Abel" <[EMAIL PROTECTED]> Cc: "Doc" <[EMAI

Re: [htmltmpl] Error code.

2002-10-10 Thread Doc
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" <[EM

Re: [htmltmpl] Error code.

2002-10-10 Thread Sam Tregar
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

Re: [htmltmpl] Error code.

2002-10-10 Thread Dave Van Abel
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. At 11:35 PM 10/10/02 -0400, Doc wrote: >I didnt pick any fight. And my code is from Perl Monk web site. and I >said H-T was being s

Re: [htmltmpl] Error code.

2002-10-10 Thread Doc
I didnt pick any fight. And my code is from Perl Monk web site. and I said H-T was being stupid. Not any one person. H-T seriously needs DBI module as well. - Original Message - From: "Sam Tregar" <[EMAIL PROTECTED]> To: "Brian McCain" <[EMAIL PROTECTED]> Cc: "Kenny Smith" <[EMAIL PRO

RE: [htmltmpl] Error code.

2002-10-10 Thread Cory Trese
> > Ironically, if memory serves me right, I think that the tag > attributes are case INsensitive no? True, unless overridden in the constructor. -- Cory --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkg

RE: [htmltmpl] Error code.

2002-10-10 Thread Alex Porras
> Then H-T must be incrediable dumb since that tmpl_var ROWS is in it. > and Script says ROWS too. I am very much aware of > case sensitive nature of linux. Ironically, if memory serves me right, I think that the tag attributes are case INsensitive no? --Alex -

[htmltmpl] A package that has a filter function for dreamweaver

2002-10-10 Thread Brian Paulsen
I put together a filter function that should convert dreamweaver templates into HTML::Templates. I'm not sure how well it would convert into HTML::Template::Expr, but it gives other people a decent starting point. BTW, if you haven't checked out the dreamweaver mx software, I'd highly recommend i

Re: [htmltmpl] Error code.

2002-10-10 Thread Sam Tregar
On Thu, 10 Oct 2002, Brian McCain wrote: > The "scalar" he's putting in there is actually an array reference, which is > totally kosher. I've gotten this error many times, and it has always been as > a result of selecting data from a database into a variable (either a true > scalar or an arrayref

Re: [htmltmpl] Error code.

2002-10-10 Thread Andrew Brosnan
On 10/10/02 at 5:14 PM, [EMAIL PROTECTED] (Doc) wrote: > Then H-T must be incrediable dumb since that tmpl_var ROWS is in it. > and Script says ROWS too. I am very much aware > of case sensitive nature of linux. > Your level arrogance on this list has only been exceeded by your ignorance, or p

Re: [htmltmpl] Error code.

2002-10-10 Thread Brian McCain
Indeed...I think that's sort of the same thing I said, only clearer. I was writing a response to Doc's original post earlier and I think I thought that some of the wording I used in that message was included in the one I ended up sending, which might have been a bit confusing. :) Ah, here, found

RE: [htmltmpl] Error code.

2002-10-10 Thread Kenny Smith
Hey Brian, I believe the error is prompted by ref( $data->{'rows'} ) not being "ARRAY", most likely rows is undef() or something along those lines. I could totally be wrong though, this is just my experience. To fix it, I usually use something along the lines of $data->{'rows'} = get_my_rows()

Re: [htmltmpl] Error code.

2002-10-10 Thread Brian McCain
The "scalar" he's putting in there is actually an array reference, which is totally kosher. I've gotten this error many times, and it has always been as a result of selecting data from a database into a variable (either a true scalar or an arrayref) and the variable not containing any data when it

RE: [htmltmpl] Error code.

2002-10-10 Thread Kenny Smith
Hello, > Then H-T must be incrediable dumb since that tmpl_var ROWS > is in it. and Script says ROWS too. > I am very much aware of case sensitive nature of linux. This is a very friendly list, please do not toss any slights here, they are not welcome. Check your data, it sounds like you are p

Re: [htmltmpl] Error code.

2002-10-10 Thread Doc
Then H-T must be incrediable dumb since that tmpl_var ROWS is in it. and Script says ROWS too. I am very much aware of case sensitive nature of linux. - Original Message - From: "Sam Tregar" <[EMAIL PROTECTED]> To: "Doc" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, Oc