develooper Front page | perl.dbi.dev | Postings from May 2012

"unrecognised attribute name or invalid value"

Thread Next
From:
Philip Stoev
Date:
May 7, 2012 13:51
Subject:
"unrecognised attribute name or invalid value"
Message ID:
95853111F04948B89E1A6C785E774F77@Philips
Hello,

I am building a new XS-based DBD driver, using the best practices of 
cargo-cult programming as recommended in the manual.

However, on every connect() attempt, I get the following unsilencable 
warnings:

Can't set DBI::db=HASH(0x20e7098)->{State}: unrecognised attribute name or 
invalid value at /usr/lib64/perl5/vendor_perl/DBI.pm line 720.
Can't set DBI::db=HASH(0x20e7098)->{Errstr}: unrecognised attribute name or 
invalid value at /usr/lib64/perl5/vendor_perl/DBI.pm line 720.
Can't set DBI::db=HASH(0x20e7098)->{Driver}: unrecognised attribute name or 
invalid value at /usr/lib64/perl5/vendor_perl/DBI.pm line 720.
Can't set DBI::db=HASH(0x20e7098)->{Err}: unrecognised attribute name or 
invalid value at /usr/lib64/perl5/vendor_perl/DBI.pm line 720.

How can I make them go away? Err and Errstr both work in my driver, so it 
seems to me I am handling them correctly.

Thank you!

Philip Stoev


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About