diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-12-17 23:54:11 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-12-17 23:54:11 -0500 |
commit | c4dd5a42a60a2c6cb6c96f617ade98a08ddaf77f (patch) | |
tree | e901cd70d6ad3ef49fb304ce527b73766692433e /bin/solve-ghost.pl | |
parent | 04cde43001eda5c6d9cfd336e611a833b3611232 (diff) | |
download | games-word-c4dd5a42a60a2c6cb6c96f617ade98a08ddaf77f.tar.gz games-word-c4dd5a42a60a2c6cb6c96f617ade98a08ddaf77f.zip |
don't know why i was using $start here
Diffstat (limited to 'bin/solve-ghost.pl')
-rw-r--r-- | bin/solve-ghost.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/solve-ghost.pl b/bin/solve-ghost.pl index ec59165..d119374 100644 --- a/bin/solve-ghost.pl +++ b/bin/solve-ghost.pl @@ -3,6 +3,6 @@ use strict; use warnings; use Games::Word::Wordlist; -my $start = $ARGV[0] or die "Usage: $0 <word_prefix>\n"; +die "Usage: $0 <word_prefix>\n" unless @ARGV; my $wl = Games::Word::Wordlist->new('/usr/share/dict/words'); print "$_\n" for $wl->words_like(qr/^\Q$ARGV[0]/i); |