summaryrefslogtreecommitdiffstats
path: root/bin/solve-superghost.pl
blob: b0200570fb7a0399bba1998c5ce50a14d01d8c2e (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/bin/perl
use strict;
use warnings;
use Games::Word::Wordlist;

my $start = $ARGV[0] or die "Usage: $0 <word_prefix>\n";
my $wl = Games::Word::Wordlist->new('/usr/share/dict/words');
print "$_\n" for $wl->words_like(qr/\Q$ARGV[0]/i);