http://www.perlmonks.org?node_id=553100


in reply to random number with range

Assuming you want an integer from 50 to 200 inclusive:

int (rand 151) + 50
Polonius