We don't bite newbies here... much | |
PerlMonks |
Re: Number Combinations With Replacementby lemming (Priest) |
on Apr 18, 2002 at 19:30 UTC ( [id://160315]=note: print w/replies, xml ) | Need Help?? |
Wouldn't feeding the permute function with like arguments give what you want? print "[", join(", ", @$_), "]\n" for permute([1,2], [1,2]);has this for output:
In Section
Seekers of Perl Wisdom
|
|