Ich habe ein modul mit dem Namen "common.pm" das im gleichen verzeichnis liegt wie das ausführbahre script Test.pl"
Eingebunden in Test.pl mit
- Code: Select all
#!/usr/bin/perl -w
use strict;
use common;
use CGI;
my $q = CGI->new;
use CGI::Carp qw(fatalsToBrowser);
der Apache meldet
Can't locate common.pm in @INC (@INC contains: C:/Programme/xampp/perl/site/lib/ C:/Programme/xampp/perl/lib C:/Programme/xampp/perl/site/lib . C:/Programme/xampp/apache) at C:/Programme/xampp/cgi-bin/test.pl line 8. BEGIN failed--compilation aborted at C:/Programme/xampp/cgi-bin/test.pl line 8. ,
das hat bis dato immer gefunzt!
hat sich was geeändert?
Vieleicht liegt es an einer *.Conf oder an einem Versionsunterschied ?
konnte bis jetzt nichts finden.
ENV Aktuelle XAMPP 1.5.5 mit MOD_PERL 2.0.2 und PERL 5.8.7