Hi,
Sorry to have to ask what may be a stupid question but I was hoping someone might be able to help me work out why I can't add something to my ispell dictionary using Lingua::Ispell add_word(word) or add_word_lc(word)? I've read through all the documentation I can find for both ispell and Lingua::Ispell but still it does not add the value to the dictionary as the function suggests it should...

Could this be a file permissions problem maybe? I am running this common via a web browser interface, and I have installed ispell as root... could this be the 'root' of the problem?

It also doesn't help that I can't get it to complain if it doesn't work. I.e. add_word($word) or die "Failed to add to dictionary: $!"; does not die, but still does not add to dictionary as far as I can tell!

Thoughts and ideas very welcome.

Thanks,
Tom


In reply to adding to an ispell dictionary by CodeJunkie

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.