in reply to Re: getting random number 8 times never the same
in thread getting random number 8 times never the same
These random numbers would not necessarily be unique
> perl -le "$n=10;$min=5;$max=15;$,=qq( );print map {int(rand($max-$mi +n)+$min)} 1..$n" 9 9 12 10 11 12 9 5 10 9
|
---|
In Section
Seekers of Perl Wisdom