Re: "unrecognised attribute name or invalid value"

"Philip Stoev" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <828D420270B54B8CBCDF91787C98CAFC@Philips>
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" <[email protected]>
To: <[email protected]>
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 [email protected]
> 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-----
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.