in reply to Re: cgi help needed.
in thread cgi help needed.

the error message is BEGIN failed--compilation aborted at scoredevbal800/www/cgi-bin/ib/xmlWriter.cgi line 3. referrer: http://scoredevbal800/addConfig.html.
Premature end of script headers:....
It says it is failing at the line use XML::Simple; Everytime i switch its location the error points to the line that it is on. The paths are correct and I did switch them to the absolute path before I posted this and it still didn't work. Thanks.

Replies are listed 'Best First'.
Re^3: cgi help needed.
by mr_mischief (Monsignor) on Apr 29, 2008 at 21:41 UTC
    Perhaps your web server is using a different perl than you think it is. Perhaps it doesn't have read permissions to your library directory. Perhaps @INC is different under your web server than under your personal shell. Perhaps your web server doesn't have the module installed.

    In any case, your issue appears to be that you're not getting XML::Simple from the context of your web server. Try some debugging or ask your server admin (or tech support) why you're having problems requiring XML::Simple since that's the problem.