Ich habe ein Perl-Modul, das von sich aus gut zu kompilieren scheint, aber bei anderen Programmen zu einem Kompilierungsfehler führt, wenn es eingebunden ist:
me@host:~/code $ perl -c -Imodules modules/Rebat/Store.pm
modules/Rebat/Store.pm syntax OK
me@host:~/code $ perl -c -Imodules bin/rebat-report-status
Attempt to reload Rebat/Store.pm aborted
Compilation failed in require at bin/rebat-report-status line 4.
BEGIN failed--compilation aborted at bin/rebat-report-status line 4.
Die ersten paar Zeilen von rebat-report-status
sind
...
3 use Rebat;
4 use Rebat::Store;
5 use strict;
...