Hi. I've just upgraded from mod_perl 1.27 to 2.02 as part of upgrading to Apache 2.
The main problem I'm having with our mod_perl script is its notion of the current directory as it relates to finding add-on modules. We call the script as http://dom.ain/perl-bin/subdir/scriptname and we have the include modules it needs in /perl-bin/subdir and that worked fine before we upgraded. But now it won't find the modules unless we put them (or symlink them) one level up in /perl-bin/. We'd rather have all the script-specific .pm files located in the same directory as the script, and not clutter the main /perl-bin directory. The error says: @INC contains: . /opt/csw/apache2/lib/perl [lots of other standard perl dirs] But "." seems to be /perl-bin now while before it was /perl-bin/subdir. I tried adding use Apache2::compat; but that didn't help. Any advice? Thanks.