Re: [Maypole] -e argument OK isn't numeric in eq (==)

From: Dave Howorth (Dave.Howorth at acm.org)
Date: Tue Nov 16 2004 - 20:48:49 GMT


> I'm getting this in my error log all the time and am wondering if
> it's causing weird results.
>
> -e: Argument "OK" isn't numeric in numeric eq (==) at
> /usr/lib/perl5/site_perl/5.8.3/Maypole.pm line 98, <GEN0> line 3.

Maypole::Constants exports OK as 0. If it's become non-numeric, I'd
guess that you, or one of the other modules you're using, have somehow
set it to some other value, probably a string.

If it were me, I'd try single stepping the request using Maypole::CLI
and the debugger to see what value it has acquired and where it
occurred. Or go real low-tech and put a bunch of print statements in!

Cheers, Dave

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT