[cgiapp] CGI::Application::Plugin::Authentication - how to get at the CGI::Application object instance?

Terrence Brannon tbrannon at insuranceagents.com
Thu Mar 5 11:30:00 EST 2009


Is there any way to access the CGI::Application object from a closure being
used with the Generic driver?

Because you configure the call to the closure at package-level, it is not
obvious how to supply it to the closure:

__PACKAGE__->authen->config(
        DRIVER => [ 'Generic', \&check_password ],
  );


More information about the cgiapp mailing list