Hi folks,

I am running a CGI script under Apache/mod_perl using Apache::PerlRun.  I
constantly got warning messaegs similiar to the one showing below:

[Thu Jan 11 18:45:49 2001] null: Prototype mismatch: sub
Apache::ROOT::login_2ecgi::gettimeofday () vs none at
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/PerlRun.pm line 343.

My CGI scripts seem to work just fine since the compliant happened in
flush_namespace.  I think I know why it is happening:  gettimeofday() in
Time::HiRes uses function prototype in the module, but line 343 in
PerlRun.pm 
    *{$fullname} = sub {};
doesn't know anything about it.

Is there a good way of fixing it?

Thanks,

Wenzhong

Reply via email to