go ahead... be a heretic | |
PerlMonks |
(tye)Re3: Finding all Combinationsby tye (Sage) |
on Sep 12, 2002 at 05:43 UTC ( [id://197151]=note: print w/replies, xml ) | Need Help?? |
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
|
|