Hi!
On Sat, Apr 16, 2005 at 10:16:48PM +0200, Jean-Michel Caricand wrote:
> [% USE DBI('dbi:Pg:facturecq', 'xxx', 'xxx') %]
>
> If I use DBI with MySQL and another database, all work fine !
DBD::Pg has a different connection syntax than DBD::mysql
see perldoc DBD::Pg
$dbh = DBI->connect("dbi:Pg:dbname=$dbname", "", "")
So you need to change your code to
[% USE DBI('dbi:Pg:dbname=facturecq', 'xxx', 'xxx') %]
--
#!/usr/bin/perl http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates