Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

(tye)Re3: Finding all Combinations

by tye (Cardinal)
on Sep 12, 2002 at 05:43 UTC ( #197151=note: print w/ replies, xml ) Need Help??


in reply to Re: (tye)Re2: Finding all Combinations
in thread Finding all Combinations

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")


Comment on (tye)Re3: Finding all Combinations
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://197151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-07-26 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls