Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Get hangman words from text file

by jaffinito34 (Acolyte)
on Dec 04, 2012 at 22:19 UTC ( #1007164=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    ###hangman###
    ...
          exit;
       }
    }
    
  2. or download this
    open (FILE, '<', 'words.txt');
    $count = 0;
    ...
        $listOfWords($count) = $Word;
        $count += 1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1007164]
Approved by ww
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2018-01-22 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (230 votes). Check out past polls.

    Notices?