Barry Dancis on 18 Feb 2005 23:13:52 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Web app question

Hi --
    I am writing a web application on windows XP using Apache and Perl and would like to place many of the declarations in a  .cgf file.
When I replace
use lib "c:/development/perl";
use lib "c:/development/perl/lib";
use lib "c:/inetpub/wwwroot/lib";

require "c:/inetpub/wwwroot/webcams/webcams.cfg"
the *.plx files (they're the equivalent of *.cgi files) work fine.
If I do the same replacement with my *.pm files, Apache gives me
Internal Server Error
Any thoughts about what the difference might be?