Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Doc
I wasn't getting any error. I am just trying to do a simple thing as take addresses from mysql database and use H-T to print on the web. And any code from here or perl monk would work. - Original Message - From: "Brian McCain" <[EMAIL PROTECTED]> To: "Doc" <[EMAIL PROTECTED]>; "html

[htmltmpl] ANNOUNCE: Bricolage 1.4.2

2002-09-27 Thread David Wheeler
The Bricolage team would like to announce the release of Bricolage 1.4.2. This is a maintenance release that fixes several critical bugs in version 1.4.1. All users of earlier versions of Bricolage are strongly encouraged to upgrade. Bricolage is a full-featured, enterprise-class content manageme

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Stefan Svensson
> Has anyone thought about doing HTML::Template::DBI? Actually, yes, to simplify some common database access. I have something like DBI::Easy in mind, but with several optimizations for HTML::Template. But would there be any interest in such a module? Stefan ---

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Brian McCain
Has anybody gotten an answer from this? I'm also curious what the error messages were. There are a million different ways to connect data from DBI with HTML::Template, and we could suggest different ways of doing it all day for a monthor we could try to help Doc solve his specific problem. Sp

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Doc
Then how do I avoid such an occurance? > On Fri, 27 Sep 2002, Kenny Pyatt wrote: > > > # Build the tmpl_loop data structure and load the template > > while (my $data = $sth->fetchrow_hashref()) > > { > > push (@loopData, $data); > > } > > # Give the data to

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Alex Porras
On Fri, 27 Sep 2002, Kenny Pyatt wrote: > # Build the tmpl_loop data structure and load the template > while (my $data = $sth->fetchrow_hashref()) > { > push (@loopData, $data); > } > # Give the data to the template > $template->param('MyLoop' => \@loopData)

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Kenny Pyatt
Hey, I am coming in at the middle of this conversation but I think I have a better way. I think those crazy perl one liners cause to much confusion when some else tries to update/change your code. I use fetchrow_hashref() to do the same thing in a snippet below but I have room to add

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Jim Lang
Doc wrote: >None of the code at PerlMonks worked for me. At least, ones I the simplier ones. > > what error messages did you get? > > > > > >- Original Message - >From: "Jim Lang" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, September 26, 2002 6:04 PM >Subject: Re: [h

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Doc
None of the code at PerlMonks worked for me. At least, ones I the simplier ones. Has anyone thought about doing HTML::Template::DBI? - Original Message - From: "Jim Lang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 26, 2002 6:04 PM Subject: Re: [htmltmpl]