There isn't anything specifically to do with perl dbi that will do it. You have to use a DB-specific query to get it. In MySQL, you'd run the query "SELECT LAST_INSERT_ID()" (maybe without the (). I ...
Okay, I just added a column as such:<P><BLOCKQUOTE><font size="-1">code:</font><HR><pre><BR>$insert = "INSERT INTO post (threadid,username,dateline,pagetext) ".<BR ...