Michael Schout wrote:
Geoffrey Young wrote:

interesting.  the last time I tried was with bleedperl before 5.8 was
released - I know it worked then because I was writing a patch for
mod_perl core based on it.  this thread has most of the dialogue:


Hrm. Well, not sure how the :method attribute is implemented, but what I was trying to do was create a :Profiled attribute handler.
ah. :method is implemented in Perl core, while Attribute::Handlers is not - see the attributes manpage for a list of built-in attributes.


I tried just putting a CHECK block with a warn in my application, and it is true that the the CHECK block never gets called. So given that it seems impossible that the Attribute::Handlers module can work under mod_perl.
I think that Apache::Handlers uses Attribute::Handlers, so maybe there's some secret in James' code there that could help you unlock your Attribute::Handlers issues.

http://www.cpan.org/modules/by-module/Apache/Apache-Handlers-0.02.tar.gz


Given that though, I dont doubt that the :method handler works for you :). Maybe this is implemented as a special case in mod_perl??
it's Perl's special case, not mod_perl's I think :)

HTH

--Geoff



Reply via email to