Perl/MySQL/TT

Tony Bowden tony at kasei.com
Sun Oct 28 07:07:31 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)

Tony
-- 
--------------------------------------------------------------------------
 Tony Bowden | tony at tmtm.com | http://www.tmtm.com/
                     The problem is communication. Too much communication.
--------------------------------------------------------------------------



More information about the Belfast-pm mailing list