|The stupid question is the question not asked|
Ispell did it in my code with a broken pipe, anyone got a clue?by jonjacobmoon (Pilgrim)
|on Feb 12, 2002 at 18:38 UTC||Need Help??|
jonjacobmoon has asked for the wisdom of the Perl Monks concerning the following question:
Okay, I am using Text::Ispell and coming across what may be a bug, but I want to try the code, catch it, and handle it without quitting prematurely. Lovers and users hate it when you quit prematurely.
Anyway...... Here is my code (or at least part of it):
When I run across a problem adding to the dictionary, I get an error reflected in $! and then when I go to add another word, the program quits with the following message:
First, off ispell on the command line has no problem with nis2002 nor should it according to the documentation, so my guess is the Text::Ispell has a bug in it, although I could not find it. Still, there has to be a way to try and catch this exception.
Any ideas would be most helpful, I have been struggling with this minor bug for three days with no end in sight.
I admit it, I am Paco.
Edit by tye to change PRE to CODE around long lines