[cgiapp] getter behavior for ->start_mode() ?

Terrence Brannon tbrannon at insuranceagents.com
Thu Feb 26 11:16:24 EST 2009


sub logout {
    my($app)=@_;

    $app->authen->logout;

    $app->forward( $app->start_mode ); # would be nice!
}


instead I will declare a lexical variable for the Application package
($start_mode) and use it in both defining the start mode and forwarding to
it.


More information about the cgiapp mailing list