in reply to DBI Insert Unique Customer ID

I think you didn't try perl "unique id" in your Google searches. :) Try Data::UUID or Data::GUID; (don't know anything about Data::Uniqid, but it's there too).

Update: MySQL and others have built-in support for generating them.

Replies are listed 'Best First'.
Re^2: DBI Insert Unique Customer ID
by kalchas (Acolyte) on Apr 09, 2008 at 01:02 UTC
    Thanks for the response... UUID and GUID don't seem to do exactly what I want, though. I'm looking for a 5 digit number that's unique to the database. It looks like UUID and GUID do something a bit different, creating numbers unique to a URL. I'd think there'd be a simple way to generate the customer numbers, then check if they're already in the DB. Cheers, K.