Before I go too far into troubleshooting this, I am working on a module 
that involves parsing a requested html document.  When I run it by 
accessing a page I get a 500 Server error and in my error log I get the 
following (I have 'use diagnostics' activated):

------------
Use of uninitialized value at /usr/local/apache/lib/perl/EO/GlossarySSI.pm line
         132, <GEN1> chunk 1 (#1)

     (W) An undefined value was used as if it were already defined.  It was
     interpreted as a "" or a 0, but maybe it was a mistake.  To suppress this
     warning assign an initial value to your variables.

Use of uninitialized value at /usr/local/apache/lib/perl/EO/GlossarySSI.pm line
         148, <GEN1> chunk 1 (#1)

<...a few more of the same..>

[Tue Dec 14 15:44:22 1999] [notice] child pid 13243 exit signal 
Segmentation fault (11)
--------------

My first question is this: Is the seg fault due to the uninitialized 
values?  I wouldn't think so.

Second, the message is clear as to the reason for these errors but I am 
using strict and declaring them (my $var) at the beginning of the 
functions.  I do not want to set them at the top because their value 
depends on an if...then loop for their initial value.

If someone could please point me in the right direction or FAQ, I, and my 
sanity, would be most happy.

Kevin

Reply via email to