> And I've never seen a situation where 'self was a ref'
> could you please enlighten me.

the vast majority of the time $self is the class name, since you generally
see this kind of config

  PerlResponseHandler My::Class->handler

http://perl.apache.org/docs/1.0/guide/method_handlers.html#Simple_example
lists an example like

  PerlHandler $My::Obj->method

which doesn't look valid to me outside of a <Perl> section, but who knows.

anyway, when I was doing the part on method handlers for the mod_perl
cookbook I said "$self is always the name of the class" and IIRC stas
pointed me to that example so I changed the wording to "usually."  but I've
never seen it used in real life like that - certainly not by me.  but maybe
ask or someone else has :)

--Geoff

Reply via email to