|
|
| Just another Perl shrine | |
| PerlMonks |
Re: random number with rangeby Polonius (Friar) |
| on Jun 01, 2006 at 17:37 UTC ( #553100=note: print w/ replies, xml ) | Need Help?? |
|
Assuming you want an integer from 50 to 200 inclusive: int (rand 151) + 50
Polonius
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||