Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Assigning a file to an Array.

by olus (Curate)
on Feb 12, 2009 at 15:43 UTC ( #743361=note: print w/replies, xml ) Need Help??


in reply to Assigning a file to an Array.

Write another program that just reads the dictionary file and check if it is ok, or create a new one with the words you want. My guess is that there is something wrong with the file because your program worked just fine with me.

$ perl hangman.pl -------- Your Guess: I -------- O Your Guess: P P------- O Your Guess: a P------- O / Your Guess: s P------- O /| Your Guess: d P------- O /|\ Your Guess: f P------- O /|\ / Your Guess: g O /|\ / \ Sorry, the word was Printer .

update: You should notice that the label Outer is not case insensitive.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://743361]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-02-26 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (369 votes). Check out past polls.