| Start |
|---|
Accessing an array element at random How it works
(The same principle applies to hashes) |
| Generate a random integer between 0 and 9 Cast your random floating-point number as an int. Input: Output: A random integer, like... See also the perldoc for rand (opens new window). |
| Generate a random number between 0 and 100 Pass an upper limit as an argument to the rand() function. Input: Output: A random floating-point number, like... RemarksDocumentation for perl's rand() function: http://perldoc.perl.org/functions/rand.html (opens new window) |
Read Article
https://develop.horje.com/learn/1434/reference