|
|
| more useful options | |
| PerlMonks |
(tye)Re3: Finding all Combinationsby tye (Sage) |
| on Sep 12, 2002 at 01:43 UTC ( [id://197151]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Change the while condition to: while( 9 < ++$pick[$i] ) { and the return statment to return reverse @pick; and it will count in base 10. Perhaps that will make it easier to understand what it was doing. - tye (but my friends call me "Tye")
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||