You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by hp...@netcourrier.com on 2000/10/23 15:15:04 UTC

Very WIRED error msg

Hello guys , I saw this :

[Mon Oct 23 14:45:09 2000] [notice] Apache/1.3.12 (Unix) mod_perl/1.24 configured -- resuming normal operations
Argument "OK" isn't numeric.
Argument "OK" isn't numeric.
Argument "OK" isn't numeric.
Argument "OK" isn't numeric.

etc..

What that mean ???
Thanks

----- La messagerie itinérante sans abonnement NetCourrier -----
Web : www.netcourrier.com     Minitel : 3615 et 3623 NETCOURRIER
                  Tél : 08 36 69 00 21

Re: Very WIRED error msg

Posted by "Sean D. Cook" <sd...@edutest.com>.
> > Argument "OK" isn't numeric.
> > Argument "OK" isn't numeric.
> > Argument "OK" isn't numeric.
> > Argument "OK" isn't numeric.
> 

It looks like you are trying to check the return value from a mod_perl
handler.  

my $foo = handler();
if($foo == 1){
   # this won't work :)
}


sub handler {
 ...  

 return OK;
}





Re: Very WIRED error msg

Posted by John Saylor <jo...@WorldWinner.com>.
Hi
> ----- Original Message -----
> From: <hp...@netcourrier.com>

> Argument "OK" isn't numeric.
> Argument "OK" isn't numeric.
> Argument "OK" isn't numeric.
> Argument "OK" isn't numeric.

> What that mean ???

Your code is expecting a numeric value [probably 1 or 0] and it's
getting a string.
Your code is expecting a numeric value [probably 1 or 0] and it's
getting a string.
Your code is expecting a numeric value [probably 1 or 0] and it's
getting a string.
Your code is expecting a numeric value [probably 1 or 0] and it's
getting a string.

\js

Re: Very WIRED error msg

Posted by Steven Cotton <st...@cotton.dk>.
On Mon, 23 Oct 2000 hpcenter@netcourrier.com wrote:

> Hello guys , I saw this :
> 
> [Mon Oct 23 14:45:09 2000] [notice] Apache/1.3.12 (Unix) mod_perl/1.24 configured -- resuming normal operations
> Argument "OK" isn't numeric.
> Argument "OK" isn't numeric.
> Argument "OK" isn't numeric.
> Argument "OK" isn't numeric.
> 
> etc..
> 
> What that mean ???

Do you:

use Apache::Constants qw(:common); 

at the top of your script or in your startup file?

-- 
steven