Don't ask to ask, just ask | |
PerlMonks |
Re: Creating tuples based on setsby shotgunefx (Parson) |
on Apr 17, 2003 at 04:46 UTC ( [id://251128]=note: print w/replies, xml ) | Need Help?? |
You could use my code at Non- recursive permutation of arrays. like so.
If a ref return value is wanted, just change "return @els" to "return \@els" in the sub that make_permutator returns. -Lee "To be civilized is to deny one's nature."
In Section
Seekers of Perl Wisdom
|
|