in reply to Random numbers generation

Try this:

my @answers=(); push @answers,(int(rand(250)+250) foreach (0..99);
Completely untested...