You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by David <we...@artiland.com> on 2001/11/07 19:57:20 UTC
eval error
Hello,
I am getting this error message. Can anyone tell me what it is and how to get rid of it. (or if I need to worry about it)
[Wed Nov 7 18:52:40 2001] [error] [Wed Nov 7 18:52:40 2001] Gateway00.pm: Apache/Gateway00.pm did not return a
true value at (eval 146) line 3.
Config:
[Wed Nov 7 18:52:33 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/3.0.15 mod_perl/1.21 configured --
resuming normal operations
Perl version 5.005_03 built for i386-linux
Thanks
Re: eval error
Posted by Chris Winters <ch...@cwinters.com>.
* David (webmaster@artiland.com) [011107 14:05]:
> Hello,
>
> I am getting this error message. Can anyone tell me what it is and
> how to get rid of it. (or if I need to worry about it)
>
> [Wed Nov 7 18:52:40 2001] [error] [Wed Nov 7 18:52:40 2001] Gateway00.pm: Apache/Gateway00.pm did not return a true value at (eval 146) line 3.
Yep -- read the part in 'perldoc perlmod' about returning a true value
from your module.
Chris
--
Chris Winters (chris@cwinters.com)
Building enterprise-capable snack solutions since 1988.
Re: eval error
Posted by David <we...@artiland.com>.
Thanks,
I have it fixed
My module was ending like this:
return OK;
1;
__END__
When return OK; was removed the error goes. A copy + paste error - sorry.
----- Original Message -----
From: "___cliff rayman___" <cl...@genwax.com>
To: "David" <we...@artiland.com>; <mo...@apache.org>
Sent: Wednesday, November 07, 2001 7:07 PM
Subject: Re: eval error
> verify that Apache/Gateway00.pm has a true value
> at the end of the module. usually this looks just like
> this at the end:
>
> 1;
>
> if not, then u can add it if this is an in house module.
> if not, find out what gives from the module author.
>
> David wrote:
>
> > Hello, I am getting this error message. Can anyone tell me what it is
and how to get rid of it. (or if I need to worry about it) [Wed Nov 7
18:52:40 2001] [error] [Wed Nov 7 18:52:40 2001] Gateway00.pm:
Apache/Gateway00.pm did not return atrue value at (eval 146) line
3.Config:[Wed Nov 7 18:52:33 2001] [notice] Apache/1.3.12 (Unix) (Red
Hat/Linux) PHP/3.0.15 mod_perl/1.21 configured --resuming normal operations
Perl version 5.005_03 built for i386-linuxThanks
>
> --
> ___cliff rayman___cliff@genwax.com___http://www.genwax.com/
>
>
>
Re: eval error
Posted by ___cliff rayman___ <cl...@genwax.com>.
verify that Apache/Gateway00.pm has a true value
at the end of the module. usually this looks just like
this at the end:
1;
if not, then u can add it if this is an in house module.
if not, find out what gives from the module author.
David wrote:
> Hello, I am getting this error message. Can anyone tell me what it is and how to get rid of it. (or if I need to worry about it) [Wed Nov 7 18:52:40 2001] [error] [Wed Nov 7 18:52:40 2001] Gateway00.pm: Apache/Gateway00.pm did not return atrue value at (eval 146) line 3.Config:[Wed Nov 7 18:52:33 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/3.0.15 mod_perl/1.21 configured --resuming normal operations Perl version 5.005_03 built for i386-linuxThanks
--
___cliff rayman___cliff@genwax.com___http://www.genwax.com/