Random Numbers in Perl
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Wiadomość jest częścią wątku:
pełne drzewo wątku posortowane wg daty
Jason at
2000-10-23 12:19
sinck@ugive.com at
2000-10-23 14:50
Załączniki:
Wiadomość jako email
(text/plain)
Autor:
sinck@ugive.comsinckugive.com
Data:
2000-10-23 14:50
UTC
Temat:
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