[cgiapp] Re: error subclassing CGIApp
Michael Peters
mpeters at plusthree.com
Wed Aug 5 14:08:35 EDT 2009
P Kishor wrote:
> So, I think I have discovered an answer to my problem -- seems like I
> can't have setup in BaseCGIApp.
Sure you can. You just need to make sure that you call your base class's setup()
method in your child classes if you're overridding it. This is pretty standard OO:
sub setup {
my $self = shift;
$self->SUPER::setup();
# now do my own stuff
}
--
Michael Peters
Plus Three, LP
More information about the cgiapp
mailing list