Random Numbers in Perl
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Aquest missatge és part del següent fil:
l'arbre de fils complet ordenat per data
sinck@ugive.comsinckugive.com en
2000-10-23 14:50
Kevin Buettner en
2000-10-23 15:39
Adjunts:
Missatge com a correu electrònic
(text/plain)
Autor:
sinck@ugive.com
Data:
2000-10-23 14:50
UTC
Assumpte:
Random Numbers in Perl
This is an excellent go, and I'll only make one kibbitz technically:
\_ $randigit = int( rand( $base) );
Do you trust rand() to be random?
It's probably mostly random as far as humans can tell, but computers?
rand('maybe', 'maybe not'). :-)
David