Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Next from inner loop only works "most of the time"

by karlgoethebier (Abbot)
on May 19, 2021 at 10:03 UTC ( [id://11132734]=note: print w/replies, xml ) Need Help??


in reply to Next from inner loop only works "most of the time"

BTW, what about singular and plural?

for my $result ( @results ) { …; for my $key ( keys %seen ) { …, } …; }

N.B.: Untested

«The Crux of the Biscuit is the Apostrophe»

Replies are listed 'Best First'.
Re^2: Next from inner loop only works "most of the time"
by Marshall (Canon) on May 20, 2021 at 08:50 UTC
    My "cheater program" is not designed to solve the puzzle automatically. It is to give me hints when I get "stuck". My 150K line dictionary contains lots of plural words. "car", "cars" etc. If on an easy puzzle, I hit on "saw", I will immediately type in "saws", but I very likely might miss say, "resaw" or "resawer".

    Some of these puzzles are ridiculously hard. I think you have to have a mutant brain or a heck of a lot experience or a Perl program assistant to solve some of these things. Or as the program authors want you to do, watch a lot ads in order to get hints.

Log In?
Username:
Password:

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

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

    No recent polls found