in reply to Re: MySQL: INSERT and return?
in thread MySQL: INSERT and return?

Maybe I'm not using a new enough dbd for MySQL. I had to resort to 'mysql_insertid'.
my $sth = $dbh->prepare($sql) $sth->{mysql_insertid};