Hi, list!

Had anybody problems with using Lingua::Wordnet? I have..

I have following simple test script:

test.pl:
001: use Lingua::Wordnet;
002: my $dict = new Lingua::Wordnet('lib/Lingua/dict');


Lingua::Wordnet object creation fails with following error:

Unable to load lib/Lingua/dict/lingua_wordnet.index: at lib/Lingua/Wordnet.pm line 367.


Wordnet.pm:
...
367:    $self->{indexobj} = tie %{$self->{indexhash}},
368:         "DB_File", "$datapath/lingua_wordnet.index",
369:          O_RDWR, 0666, $DB_BTREE or
370:          die "Unable to load $datapath/lingua_wordnet.index: $!";
...


Note that $! was empty and there's no error description after colon.

Any thoughts?

Thanks in advance!

--
Regards,
Eugene Kosov

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to