On Sun, May 20, 2001 at 10:57:11AM +0200, David wrote:
> Just follow the Indexer.pm that i want to require, but I have this
> message
> [Sun May 20 10:53:38 2001] Indexer.pm: Indexer.pm did not return a true
> value at admin.cgi line 20. BEGIN
> failed--compilation aborted at admin.cgi line 22.
The *first* place to look when you want to know what an error message means
is the perldiag documentation, which describes all of Perl's diagnostic
messages.
%s did not return a true value
(F) A required (or used) file must return a true value
to indicate that it compiled correctly and ran its
initialization code correctly. It's traditional to
end such a file with a "1;", though any true value
would do. See the require entry in the perlfunc
manpage.
Ronald
P.S. Sending all that code was unnecessary.