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


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to