We don't bite newbies here... much | |
PerlMonks |
Re^2: A Random Fortune Cookieby choroba (Cardinal) |
on Mar 10, 2021 at 21:46 UTC ( [id://11129429]=note: print w/replies, xml ) | Need Help?? |
It's a special case of the Fisher-Yates shuffle, IIRC.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Cool Uses for Perl
|
|