in reply to Re: using function delete with arraysin thread using function delete with arrays
use List::Util qw(shuffle); @list = shuffle @list; # now you can just shift() or pop() until @list is empty [download]
Perl 6 in German