develooper Front page | perl.perl5.porters | Postings from March 2001

[ID 20010330.002] buggy error message

Thread Next
From:
Stefan Scheurer
Date:
March 30, 2001 08:16
Subject:
[ID 20010330.002] buggy error message
Message ID:
3AC4B14A.3E3F900E@datacomm.ch
Dear Perl-Community and Developer

Despite the fact that I am just a novice in programming perl, I might
have found
a bug...
in relation with apache and its error.log

I wrote my own little perl module (weu.pm) and copied (per FTP) it to
another
system and tried to reach the perl-scripts that
use that pm-file by using apache (1.3.17).
The script failed and the entry in the error.log of the apache was the
following:


"Can't locate weu.pm in @INC....."

That all happend on a SuSE Linux 7.1 with perl 5.6.0.
Well, I found out, that I forgot to set the permissions of weu.pm to 444
or
644...it was 640, which is wrong...

Why didn't it say "No Permission to weu.pm..." or "Can't use weu.pm...."
instead
of saying "Can't LOCATE...."?
After all, the file was existant in the correct path and all...it just
had the
wrong permissions.

If that "bug" is already known, I am sorry to steal your time...
If it is not known yet, I hope I could help a little...:-)

thanks a lot for your patience and your work

stefan scheurer
IT-Apprentice
Switzerland



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About