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

Re: Get hangman words from text file

by 2teez (Priest)
on Dec 04, 2012 at 22:56 UTC ( #1007170=note: print w/ replies, xml ) Need Help??


in reply to Get hangman words from text file

Another thing to check:
using warnings in your script, shows this Use of uninitialized value $input in numeric ne (!=) at ... line 75. Please check your subroutine getInput.
Secondly, in my considered opinion, I think it will be better if your subroutine are called without the & in cases like this. Why not just call like this:

$input = getInput() # and your subroutine are defined as sub getInput{ ... } ...
Except you know for sure why you are doing otherwise. Please see perlsub for more...

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me


Comment on Re: Get hangman words from text file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-09-20 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls