Random Numbers in Perl
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Dette indlæg hører under følgende tråd:
Det komplette tråd-træ sorteret efter dato
sinck@ugive.comsinckugive.com den
2000-10-23 14:50
Kevin Buettner den
2000-10-23 15:39
Vedhæftede filer:
Indlæg som e-mail
(text/plain)
Skribent:
sinck@ugive.com
Dato:
2000-10-23 14:50
UTC
Emne:
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