I am a new citizen of Perl country. Now I have a simple problem. I have a small program include two lines like this:
This program works ok in command line using 'perl test3.cgi', but when I access it in linux web server, I always got a problem. The error_log tells me this:
Can't locate example.pm in @INC (@INC contains /home/benjamin /usr/lib/perl/5.6.0 ...) at /var/www/cgi-bin/test3.cgi ...
I guarantee that the first path in @INC include example.pm, but why I have this problem?