I found a bug with
DBD::AnyData and has been
reported earlier. It displays unncessary warning. How do I suppress this bug in my code output ?
Update:
use DBI;
use strict;
my $dbh = DBI->connect('dbi:AnyData(RaiseError=>0):');
$dbh->func( 't_pricedata', 'Pipe', 'pricedata', { col_names => 'item,p
+rice' }, 'ad_catalog' );
my $query = q(SELECT item,price FROM t_pricedata);
my $sth = $dbh->prepare($query);
$sth->execute();
while ( my $row = $sth->fetchrow_hashref ) {
print $row->{price}, "\n";
}
$sth->finish;
$dbh->disconnect;
Thanks,