Perl: the Markov chain saw | |
PerlMonks |
Re^3: Subclassing and CGI::Prototypeby merlyn (Sage) |
on May 19, 2006 at 22:26 UTC ( [id://550603]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|