you'll want to do
use Apache::Constants qw(OK);

and change that to
$r->status(OK);

as OK is actually defined as a constant function
sub OK {  0 }


END
------------------------------------------------------------------------------
Philip M. Gollucci (p6m7g8) [EMAIL PROTECTED] 301.314.3118

Science, Discovery, & the Universe (UMCP)
        Webmaster & Webship Teacher
        URL: http://www.sdu.umd.edu

EJPress.com
        Database/PERL Programmer & System Admin
        URL : http://www.ejournalpress.com

Resume      : http://p6m7g8.com/Work/index.html


On Mon, 4 Mar 2002, clayton cottingham wrote:

> hello:
>
> im using Apache/1.3.12
> and
> mod_perl/1.24
>
> every time i use
> the $r->status('OK');
>
> it gives me this error
>
> Argument "OK" isn't numeric in subroutine entry ....
>
> has anyone come accross this before?
>
> thanks
>

Reply via email to