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 ],
  );

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