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

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