Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Play and win the word morph game with the help of Perl :)

by Ieronim (Friar)
on Jun 29, 2006 at 13:01 UTC ( [id://558308]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Play and win the word morph game with the help of Perl :)
in thread Play and win the word morph game with the help of Perl :)

of course the non-dictionary words can appear only at the endpoints.

The variant with Storable is about 10 time faster than mine :) great :)

  • Comment on Re^4: Play and win the word morph game with the help of Perl :)

Replies are listed 'Best First'.
Re^5: Play and win the word morph game with the help of Perl :)
by Limbic~Region (Chancellor) on Jun 29, 2006 at 14:13 UTC
    Ieronim,
    I truly like the elegance of my previous solution. It is Concise, straight forward, and fast. You can even remove the build_db() after the database has been compiled as I have shown below in about 20 lines of code: For the sake of completeness, I am providing the following version which allows you to use non-dictionary words at the endpoints. Feel free to adjust this as you see fit.

    Cheers - L~R

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-24 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found