my code structure is like this: /Base.pm /-------------------/User.pm /-------------------/User/AAA.pm BBB.pm CCC.pm /-------------------/Admin.pm /-------------------/Admin/Auth.pm OP1.pm OP2.pm OP3.pm
User.pm and Admin.pm 'use base' Base.pm, also defined cgiapp_prerun _ini ... in Base.pm, what I want is any runmode in Admin::OP1 Admin::OP2 Admin::OP3 should only be run with login-ed user. can this be done in Admin.pm instead of calling check function in every runmode ? also I do not want Admin.pm override defined cgiapp_prerun in Base.pm. thanks ##### 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/ ## ## ## ################################################################
