Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: "Countdown" (golf)

by blakem (Monsignor)
on Nov 30, 2001 at 12:59 UTC ( [id://128580]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @letters = qw(d u n s c a e y t);
    open(D,"/usr/dict/words") or die $!;
    ...
    uneasy
    unsteady
    [SNIP]
    
  2. or download this
    #        1         2         3         4         5         6         7
    #234567890123456789012345678901234567890123456789012345678901234567890
    +123456
    ...
    @_=sort@_;$"='?';grep{(join'',sort split//)=~/^$\@_?$/}<D>
    # stealing a bit from gbarr
    @_=sort@_;$"='?';grep{(join'',sort/./g)=~/^@_?$/}<D>
    

Log In?
Username:
Password:

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

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

    No recent polls found