http://www.perlmonks.org?node_id=495900


in reply to Re^2: generate combinations of lists
in thread generate combinations of lists

++ for correcting me ;-)

Nevertheless: Still no ++ for the answer because rand is not something I would consider a good solution for permutation. So it's not worth a good reputation. Neither is mine so the (currently) -1 is okay

$\=~s;s*.*;q^|D9JYJ^^qq^\//\\\///^;ex;print