Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: "Countdown" (golf)

by dragonchild (Archbishop)
on Nov 30, 2001 at 22:31 UTC ( [id://128695]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @_=sort@_;$"='?';push@{$,[length]},$_ for grep{(join'',sort split//)=~
    +m!^$/@_?$!}<D>;@{pop@,}
    
  2. or download this
    @_=sort@_;$"='?';push@{$,[length]},$_ for grep{(join'',sort split//)=~
    +m!$/@_?$!}<D>;@{pop@,}
    
  3. or download this
    @_=sort@_;$"='?';push@{$,[length]},$_ for grep{(join'',sort/./sg)=~m!$
    +/@_?$!}<D>;@{pop@,}
    
  4. or download this
    perl -l
    
    @_=sort@_;$"='?';push@{$,[length]},$_ for grep{(join'',sort/./sg)=~/$\
    +@_?$/}<D>;@{pop@,}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-25 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found