[cgiapp] interrupt run process in base class ?

Michael Peters mpeters at plusthree.com
Thu Jul 14 09:38:50 EDT 2011


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


More information about the cgiapp mailing list