in reply to how to print continuously in array of array?

#how to print one by one continuously in full array my $counter = 0; foreach my $array (@stuff){ print "ARRAY [ ", $counter++ ," ]: "; foreach my $data (@$array){ print $data,' '; } print $/; } #OR print join " ", map{@$_} @stuff[0..$#stuff];
but i want to print randomly how?
You should be able to do that now, however, don't forget the function rand

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me