Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Get hangman words from text file

by Athanasius (Chancellor)
on Dec 05, 2012 at 03:29 UTC ( #1007186=note: print w/replies, xml ) Need Help??

in reply to Get hangman words from text file

Just a side note: When populating an array with words, you can save a lot of typing by using qw//:

my @words = qw( hi cat home country computer irc hat wow Berlin fly airplane cow maps make run sigh golf running hat television games hangman pearl cat dog snake black white cabin trees birds animals );

See Quote and Quote like Operators.

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?

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

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

    Results (340 votes). Check out past polls.