Subject: | set_option not working |
Hello,
Setting "extra-dicts" does not seem to work; sample program below.
thanks in advance,
Brian
#!/usr/bin/env perl
use Text::Aspell;
my $t = Text::Aspell->new();
$t->set_option('lang' => 'en_US');
$t->set_option('extra-dicts' => 'nl');
for my $word (qw/is am/) {
print "$word : ".($t->check($word) ? 'ok' : 'not ok');
print "\n";
}
Output :
is : not ok
am : not ok