Help for this page
Select Code to Download
Select
or
download this
print "[", join(", ", @$_), "]\n" for permute([1,2], [1,2]);
Select
or
download this
[1, 1] [1, 2] [2, 1] [2, 2]