Perl/MySQL/TT

Steve Foy steve at unite.net
Sun Oct 28 08:55:42 CST 2001


> On Sun, Oct 28, 2001 at 12:26:05PM -0000, Steve Foy wrote:
> > Im trying to get perl to select stuff from a database, then pass it to
> > template toolkit in an appropriate manner. The context is gig dates - so
> > there will be, say 25 rows in the database, each containing details of a
> > gig. Each must be processed by a
> > FOREACH loop in the template. Can anyone give me a few pointers as to
how to
> > get the data passed to the template in the right way?
>
> use Class::DBI;
>
> (or use Class::DBI::mysql)

Cheers, I ain't no perl wizard, but I'll give it a go :)

Steve




More information about the Belfast-pm mailing list