more useful options | |
PerlMonks |
Re: Generate a # between 1 and 50 in groups of 5by pme (Monsignor) |
on Jan 30, 2015 at 19:02 UTC ( [id://1115117]=note: print w/replies, xml ) | Need Help?? |
Hi Hayest, welcome to the monastery.
Random numbers can be generated using rand() function (see rand). This short script below prints 5 random numbers between 1 and 50. The group of numbers is sorted.
In Section
Seekers of Perl Wisdom
|
|