Goo::Database - This script connects to an MySQL database and executes queries
use Goo::Database;
Simple interface to DBI.
open a connection to the default database
execute some sql
execute sql and return the result all in one
return an sql 'in' clause with numeric values
return an sql 'in' clause with string values
return the number of rows for this statement handle
alias for get_result_hash
return a hash for this query handle
bind a parameter to a value
take a string and prepare the SQL
display the SQL statement useful for debugging
take a string, execute the SQL return a hash of column headings and values
execute prepared statement
return the maximum value of a database column
return the latest increment for this database handle
check if a value exists in a given column and table
return a row based on a key
return a simple row in the table
delete a row based on a key
quote a value for insertion into the database
handle any error thrown by the DBI subsystem
return the primary key for a table
return a list of column names for the table
return the date and time according to the database
Nigel Hamilton <nigel@trexy.com>
To install Goo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Goo
CPAN shell
perl -MCPAN -e shell install Goo
For more information on module installation, please visit the detailed CPAN module installation guide.