use DBIx::Simple; $db = DBIx::Simple->connect(...); # just as with DBI $db->insert($table, \%hash);