in reply to DBI dots
my $sth = $dbh->prepare; $sth->execute; [download]
not just sth->prepare, sth->execute which will never work.
So I actually concocted a little example to run, and it works. However, the original still isn't working, I'm trying to work out why not now.