in reply to Random number in while loop

Thx everyone for your help. I'll remember to use. ;) use strict; use warnings;