MOBY::mysql - makes a MYSQL database connection.
use MOBY::simple_output; my $dbh = MOBY::central_db_connection->new( db_connect_object => "MOBY::mysql", username => "myusername" password => "mypassword", dbname => "dbname", host => "dbhost", ) $sth = $dbh->prepare("select * from tablename");
makes a mysql conneciton to the database. Should be created via a central_db_connection object only!
Mark Wilkinson (mwilkinson@gene.pbi.nrc.ca)
To install MOBY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MOBY
CPAN shell
perl -MCPAN -e shell install MOBY
For more information on module installation, please visit the detailed CPAN module installation guide.