in reply to CGI::Prototype: questions and feedback

> but it not clear how $self is obtained or what namespace it exists in.

I've been using $self in the callback methods which all start:

sub respond { my $self = shift

I'm not sure I understand your questions, but agree about reading code: The documentation I refer to most frequently is the definition of sub activate -- just to remind myself what happens, when.

Replies are listed 'Best First'.
Re^2: CGI::Prototype: questions and feedback
by merlyn (Sage) on Jan 29, 2005 at 17:30 UTC
    The documentation I refer to most frequently is the definition of sub activate -- just to remind myself what happens, when.
    Yes, the code is meant to be small, directly understandable, and extensible. That's why it's a lot of small methods instead of one humungous subroutine.

    That's not a cop-out for not providing better docs. My secret partner is feeding me examples and more tests, and I'm incorporating them in a new release probably in two weeks.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

      why dont you create GMANE-based mailing list for your module merlyn? you know it's going to be popular. No need to answer questions privately when we could all benefit from the answers.