Test::Smoke::Database::DB - Interface for smoke database
my $a = new Test::Smoke::Database; $a->db->rundb("SQL request");
This module give all mysql method for manipulate smoke database
admin_smokedb, Test::Smoke::Database, http://www.alianwebserver.com/perl/smoke/smoke_db.cgi
Construct a new Test::Smoke::Database object and return it. This call too connect method of DBD::Mysql and store dbh in $self->{DBH} except if key no_dbconnect is found in hash reference. Disconnect method is auto called with DESTROY call if needed.
This will do like $dbh->do, but several request can be put in SQL request, separated by ';'. Return 1 on sucess, 0 if one of request failed. If failed, reason is printed on STDERR.
$Revision: 1.10 $
Alain BARBET with some help from Abe Timmerman
To install Test::Smoke::Database, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Smoke::Database
CPAN shell
perl -MCPAN -e shell install Test::Smoke::Database
For more information on module installation, please visit the detailed CPAN module installation guide.