On 07/14/2011 02:18 AM, silent wrote:

> also I do not want Admin.pm override defined cgiapp_prerun in Base.pm.

Can it extend it?

In Admin.pm

sub cgiapp_prerun {
   my $self = shift;
   # this runs Base.pm's cgiapp_prerun()
   $self->SUPER::cgiapp_prerun();

   # do what I need to do here
}

-- 
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