in reply to Retreiving GUID after insert

See the last_insert_id function of DBI, in the DBI documentation.