D'oh!
Thanks erix, that did the trick.
In reply to Re^2: Perl or DBI error? by RedElk in thread Perl or DBI error? by RedElk