Subject: | Can't locate object method "get_message" |
I am executing a simple SQL INSERT statement repeatly for each record listed in a file.
Example of code:
my $sql = qq{INSERT INTO tbl (p1, p2, p3) VALUES( $pq,$p2,$p3 ) } ;
my $rows = $db->do( $sql ) ;
unless( defined $rows )
{
print qq{[create_submission] SQL statement failed! $db->errstr() ($db->err()) } ;
}
I am getting the following error while processing:
DBD::PgPP::db do failed: Can't locate object method "get_message" via package "DBD::PgPP::CursorResponse" at /Library/Perl/DBD/PgPP.pm line 628.
I have reviewed the object in question DBD::PgPP::CursorResponse and see as stated in the error no such sub. Suggestions?
Perl Version: v5.6.0 built for darwin
Server: PostgresSQL 7.3.0 RH Linux