Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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.


Comment on Re: Assigning a file to an Array.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2014-10-25 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls