Hi Doug,
Just installed Apache 1.3.7 and mod_perl 1.25 on my Linux box. To my
surprise, when I ran my scripts using PerlRun.pm, the "Prototype mismatch"
problem still occurs. When examining the code, it happened to be that line
344 of the new PerlRun.pm is:
*{$fullname} = eval "sub ($p) {}";
instead of
eval "*{\$fullname} = sub ($p) {}";
Apparently, the line in PerlRun.pm (mod_perl 1.25) is not doing what it
should do, which is replacing the sub that $fullname points to with a empty
sub with correct prototype. Is there anything I am missing here?
Wenzhong Tang
[EMAIL PROTECTED]
-----Original Message-----
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 2:03 PM
To: Wenzhong Tang
Cc: [EMAIL PROTECTED]
Subject: RE: Prototype mismatch in Apache::PerlRun line 343
On Fri, 26 Jan 2001, Wenzhong Tang wrote:
> Unfortunately the following line doesn't work:
> eval "*{\$fullname}($p) = sub {}";
> It probably should be:
> eval "*{\$fullname} = sub ($p) {}";
> The latter works on my Linux and Solaris tests.
right. thanks, applied.