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

Re: Get hangman words from text file

by ww (Bishop)
on Dec 04, 2012 at 22:50 UTC ( #1007169=note: print w/replies, xml ) Need Help??

in reply to Get hangman words from text file

Since your existing code (with possible words in the initial array, @words includes both strict and a my declaration of @hangman (and company) the errors message isn't coming from what you've shown us.

We'll be better able to decipher the problem if you show us the code that actually provokes the error.

But, for a WAG, I suspect you're trying to populate @hangman from some new code -- perhaps before declaring @hangman. So, yes, amend, emend or update your OP to show us the barest snippet of code which reproduces the problem; we don't need 150 lines, most of it irrelevant to the error you cite.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2016-10-23 01:30 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.