Not really a mod_perl question here,,

but anyway if you include a file with "use" or "require" that file need to
return a true value.

return 1;
or just:
1;

you have probebly removed this line from samplemod.pm
check samplemod.pm and make shure it returns a true value.

Best regards

        Christian


On Mon, 29 May 2000, you wrote:
> Hi ALL:
> 
> I have a module called samplemod.pm. It used to work fine. After modifying
> something, i got errors from a perl
> script (use samplemod;) saying:
> samplemod.pm did not return a true value at /home/httpd/perl/test.pl line 12.
> BEGIN failed--compilation aborted at  /home/httpd/perl/test.pl line 12.
> Any hints, Thank you very much.
> 
> Steven

Reply via email to