Hi Users,
I am wondering if there is a function that make a permutation piddle.

For example,

$a = sequence(2);
$b = sequence(3);

Using the two piddles above, I want to create

[
 [ 0, 0 ],
 [ 0, 1 ],
 [ 0, 2 ],
 [ 1, 0 ],
 [ 1, 1 ],
 [ 1, 2 ],
]

Any suggestion would be appreciated!

-- 
Best,
In-Suk Joung
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to