Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: generate combinations of lists

by Skeeve (Vicar)
on Sep 28, 2005 at 14:37 UTC ( #495771=note: print w/ replies, xml ) Need Help??


in reply to Re: generate combinations of lists
in thread generate combinations of lists

No ++ from me because you work with "rand". That's not permutating but "throwing dice" and hoping to get all permutations.

-- for doing someone's homework ;-)


$\=~s;s*.*;q^|D9JYJ^^qq^\//\\\///^;ex;print


Comment on Re^2: generate combinations of lists
Download Code
Re^3: generate combinations of lists
by Smylers (Pilgrim) on Sep 28, 2005 at 16:08 UTC
    No ++ from me because you work with "rand". That's not permutating but "throwing dice" and hoping to get all permutations.

    Um, I think that's the point of it — it's a joke! (Especially considering its name.)

    -- for doing someone's homework ;-)

    But surely approaching a homework question in an intentionally stupid way that they wouldn't get any marks doesn't actually count as doing somebody's homework? I thought gargle's node was humourous, and can't see what's so harmful about it to warrant its negative reputation.

    Smylers

Re^3: generate combinations of lists
by Skeeve (Vicar) on Sep 28, 2005 at 21:26 UTC
    ++ for correcting me ;-)

    Nevertheless: Still no ++ for the answer because rand is not something I would consider a good solution for permutation. So it's not worth a good reputation. Neither is mine so the (currently) -1 is okay

    $\=~s;s*.*;q^|D9JYJ^^qq^\//\\\///^;ex;print

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-12-25 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls