http://www.perlmonks.org?node_id=550603


in reply to Re^2: Subclassing and CGI::Prototype
in thread Subclassing and CGI::Prototype

Try this patch. Change $self->reflect->addSlot to __PACKAGE__->reflect->addSlot in CGI/Prototype.pm in the initialize_CGI subroutine. I think that'll do it right. But I'm trying to think of how to have subclasses also be able to select where the CGI slot should be.

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