glob can do that,
my $combs = [ map { [split //] } glob '{a,b,c}{1,2,3}{-,+,\*}' ];
After Compline,
Zaxo
In reply to Re: cartesian product preserving order
by Zaxo
in thread cartesian product preserving order
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |