Is there a perl API for mySQL?
The mysql perl API which comes with mysql is installed. For more information refer to the documentation at http://support.martnet.com/mysql/ For more information about the Perl API, refer to the Mysql user documentation Here is a quick demonstration of a generic query: use Mysql; if ( ! ( $gDBH = Mysql->Connect(“servername”, “database”,”passwd”,”user”) ) ) { die “SQL Error: $Mysql::db_errstr”; } my $sth = $gDBH->query( “select * from tablename” ); if ( ! defined $sth ) { die “SQL Error: $Mysql::db_errstr”; } for (;;) { my %hash; last if !