I am trying to use the rand function to generate numbers from an array containing 3 ranges. This is unfortunately not working. I know I am doing something wrong, either with rand() or with my array declaration. Can someone please correct me:
my @numbers = [48..57, 97..112, 65..90];
$num = int(rand(@numbers));