Whats wrong with the following?
my $pdl = random(100, 100) * 4 + 1; [download]
In reply to Re^2: Random Values (1-5) for a PDL? by plobsing in thread Random Values (1-5) for a PDL? by Anonymous Monk