Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: (Golf) Per Mutations

by MeowChow (Vicar)
on May 04, 2001 at 03:46 UTC ( #77841=note: print w/ replies, xml ) Need Help??


in reply to Re: (Golf) Per Mutations
in thread (Golf) Per Mutations

Awesome :) We can even bring that down to 49:

sub p { @_?map{my$a=$_;map[$a,@$_],p(grep$_!=$a,@_)}@_:[] }
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on Re: Re: (Golf) Per Mutations
Download Code
Re: Re: Re: (Golf) Per Mutations
by dws (Chancellor) on May 04, 2001 at 03:59 UTC
    Make that 48:
    sub p { @_?map{my$a=$_;map[$a,@$_],p(grep$_^$a,@_)}@_:[] }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-07-22 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (129 votes), past polls