I am trying generate 100 random numbers using forach
between 1 thru 99
But always get between 0 and 1. Any ideas?
perl -wle "use 5.10.0; say rand foreach(1..100) ;"
Thanks.
In reply to Random generator fail by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |