Help for this page
my $foo = sprintf "%.0f", rand(100);
perl -wle '@r = (1,2,3); print $r[$t = rand(3)]; print "$t"'; 2 1.28954588016495