- or download this
package DBIx::Handy;
...
}
1;
- or download this
my $DB = DBIx::Handy->new({database => 'autoreorder',
auto_connect => 'startup',
driver => 'mysql',
username => 'alex'});
- or download this
my $r = CGI->new();
my $form_data = $r->Vars();
...
$DB->insert(table => 'customers',
data => $form_data);
- or download this
my $res = $self->{_DB}->execute(
sql => 'SELECT * FROM customers WHERE email = ?',
...
while($row = $STH->fetchrow_hashref()){
# ....
}