List,
Interesting problem that I think proves just how much I really don't know
about Perl.
I have copyied most of this variable from the internet...
my $unique_id = time && 0xFFFFF && $$;
ALL I know is that this uses Unix time and some sort of process ID and also
adds some other magic stuff to it. My question is is... I use this exact
same variable in another script that inserts $unique_id into a row on a
database. As I mentioned the variable is used in two scripts and inserts
the variable value into the same table in the database. Will this varibale
ever be the same? (STUPID QUESTION)? The column where this unique_id is
inserted is also the primary key so I will never have to worry about this
being the same in the database. But if it is the unique_id will not be
inserted in the database and therefore the entire INSERT will not work.
HOPE THIS MAKES SENSE...
Regards,
Daniel Falkenberg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]