eval error

2001-11-07 Thread David



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

2001-11-07 Thread Chris Winters

* David ([EMAIL PROTECTED]) [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 ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.



Re: eval error

2001-11-07 Thread ___cliff rayman___

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 [EMAIL PROTECTED]http://www.genwax.com/





Re: eval error

2001-11-07 Thread David

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___ [EMAIL PROTECTED]
To: David [EMAIL PROTECTED]; [EMAIL PROTECTED]
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 [EMAIL PROTECTED]http://www.genwax.com/