NAME

Mail::Miner::DBI -  Get a Mail::Miner DBI handler

SYNOPSYS

use Mail::Miner::DBI;
dbh->do("...")

DESCRIPTION

Utility methods for dealing with the DBI.

dbh

This is a handy way of getting a handle on a database connection to the Mail::Miner database, creating it if necessary.

Insert

my $id = Insert($sql, @bind_values);

Performs an insert statement and returns the ID of the new row.