http://www.perlmonks.org?node_id=21702


in reply to Random number

Well Moshambo, there are those that argue that you shouldn't use randomness at all! I guess it just depends on what the purpose of the randomness is. For a random quote, or image, or anything else that is a bit more trivial, I see no problem at all in generating random results for display through rand. But, if you are trying to keep track of data, or generating unique strings to insert into a database, I would never use randomness. Regardless of the language used to generate it.

Just my R$ 0.02 worth.

#!/home/bbq/bin/perl
# Trust no1!