On 11 Sep 2007 at 9:25, Chas Owens wrote:

> On 9/11/07, Dermot Paikkos <[EMAIL PROTECTED]> wrote:
> > On 10 Sep 2007 at 12:52, Chas Owens wrote:

..snip 
> Three things:
> 1. You are building dict.local, but the error message says local.dict
> 2. Did you try my example and did it work?
> 3. You aren't really running as root are you?

1) That was a typo in the mail  but I redid it to be sure
>cat wordlist
aardvark
abandonment
Aberystwyth
> aspell --lang=en create master ./local.dict < wordlist
>perl spellchecker.pl 

String=local.dict
Aberystwyth not found!
Use of uninitialized value in print at spellcheck.pl line 40.
Check returned
The file "/root/aspell/local.dict" is not in the proper format

2) I believe I have followed what you did in your reply before and 
above. To be sure i pasted you script in a file, renamed 
'./dict.local' to ./local.dict. Ran it and got this:
Use of uninitialized value in array element at chas.pl line 19.
Aberystwyth not found
Use of uninitialized value in array element at chas.pl line 19.
Perl not found
Use of uninitialized value in array element at chas.pl line 19.
FOO not found
Use of uninitialized value in array element at chas.pl line 19.
bar not found
Use of uninitialized value in array element at chas.pl line 19.
abcdfooblahsmack not found

I then added the $speller->errstr to the last line and I get:
...
Use of uninitialized value in array element at chas.pl line 19.
abcdfooblahsmack not found
The file "./local.dict" is not in the proper format

3) Oh Oui :-\

Dp.



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


Reply via email to