[Perl] Locating Header File
Georges EL OJAIMI
G-OJAIMI at cyberia.net.lb
Wed Jun 19 12:56:26 PDT 2002
I'm trying to include a file (Sender.pm) to be in the header of my main
I have inserted the following statement (use Sender;) at line 3 to be
able of including my library.
My program works fine if I test it under windows (Perl Builder + Active
State PERL 5.6), but I'm getting internal server error when testing in
on the web server!
I think PERL is not trying to search for my library file inside the same
Is there any way to force my main program to search for the header file
inside the same directory!
The error is as follow:
Can't locate Sender.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)
at /home/test/public_html/cgi-bin/send.pl line 3.
BEGIN failed--compilation aborted at
/home/test/public_html/cgi-bin/send.pl line 3.
More information about the Perl