http://qs321.pair.com?node_id=654064

johnnywang has asked for the wisdom of the Perl Monks concerning the following question:

Hi, would appreciate some help with the following, it seems I'm going nowhere with it.

My mod_perl simply can't load XML::Generator. As soon as I put "use XML::Generator;" in a perl startup file and include in httpd.conf, Apache won't start, complaining that it can't locate XML/Generator/overload.pm in @INC.

But the package XML::Generator::overload is in the same file as XML/Generator.pm. Furthermore, when I go through the commandline (say "perl -d -MXML::Generator -e 1"), all is fine.

I'm using perl 5.8.0, mod_perl1.2, apache 1.3.3, and XML::Generator 0.99. Any help would be appreciated, or any suggestion as to how to proceed. Thanks.