Thank you very much, that worked.
The second argument to DBI::_new_dbh() must be an empty hashref.
In addition, dbd_db_destroy() needs DBIc_IMPSET_off(imp_dbh)
Philip Stoev
----- Original Message -----
From: "Greg Sabino Mullane" <g...@turnstep.com>
To: <dbi-dev@perl.org>
Sent: Monday, May 07, 2012 7:57 PM
Subject: Re: "unrecognised attribute name or invalid value"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Curiously, the warnings are only printed if the connection suceeds. If
the
connection fails, there is no warnings.
Don't blindly pass along the $attr argument in your connect(),
but build your own hashref with just the args you need to connect.
- --
Greg Sabino Mullane g...@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201205071256
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAk+n/toACgkQvJuQZxSWSshCgQCguTHlAoqzxca8NfhGTbeqdDWb
tpsAoKQ8pmZBCuNSV+/2j0cZ9/GCwzNt
=P+g8
-----END PGP SIGNATURE-----