[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: very old bug report about internal_redirect



:-> "Geoffrey" == Geoffrey Young <geoff@modperlcookbook.org> writes:

    >> > looks like you added the :method tag to bug130883::Redir::handler(),
    >> > which wasn't originally a method handler in the code you posted:
    >> Uh, sorry. I corrected it and now I get this one:
    >> [Wed Nov 12 16:23:05 2003] [error] Can't call method "content_type"
    >> on
    >> an undefined value at /usr/local/lib/site_perl/bug130883/Impl1.pm line
    >> 10.

    > good, that's the same error.  well, not good, but ok :)


    >> The Debian Apache maintainer prepared me a patched version that I'll try as
    >> soon as possible.

    > cool.


Ok, here are the promised tests, apologies for the long delay:

Fabbione patched mod_perl and these are the results:

with "sub handler($$) {"  :


[Wed Nov 26 09:18:46 2003] [error] Can't call method "content_type" on
an undefined value at /usr/local/lib/site_perl/bug130883/Impl1.pm line
10.

with "sub handler : method  {" :

[Wed Nov 26 09:25:30 2003] [error] Can't call method "content_type" on
an undefined value at /usr/local/lib/site_perl/bug130883/Impl1.pm line
10.


So there is no change whatsoever using the 2 styles. 


Ciao

Pf


-- 

-------------------------------------------------------------------------------
 Pierfrancesco Caci | ik5pvx | mailto:p.caci@tin.it  -  http://gusp.dyndns.org
  Firenze - Italia  | Office for the Complication of Otherwise Simple Affairs 
     Linux penny 2.6.0-test9 #1 Fri Oct 31 22:51:12 CET 2003 i686 GNU/Linux



Reply to: