Evan Kaufman wrote:
And then, on the perl side, I specify the dbh, and the query:my $dbh = DBI->connect("dsn-stuff"); $tt->process("page.html", { global_dbh => \$dbh, genre_query => "SELECT ID, Desc FROM Table;" } );
There's no need to take a reference to your database handle. Try just global_dbh => $dbh.
Dave... _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
