in reply to using sequences with dbi

This has to do, from what i can tell, with the ? placeholders. So, you should be doing something like :

my $sth = $dbh->prepare('INSERT INTO table (foo,bar) VALUES (?,?)'); foreach my $value (keys %huge_data_set_to_insert) { $sth->execute($huge_data_set_to_insert{$value},$value); } $sth->finish();
I would guess either you don't have the ?'s in the prepare, or the Database driver (DBD) you are using does not support them. you really need to post the error and relevant code if you want more than that.
"They shall not overcome. Whoever told them that the truth shall set them free was obviously and grossly unfamiliar with federal law."
    -- John Ashcroft