Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Authorization CPAN distribution.

Report information
The Basics
Id: 79650
Status: open
Priority: 0/
Queue: CGI-Application-Plugin-Authorization

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.07
Fixed in: (no value)



Subject: named configurations are not supported in prerun_callback()
I expected that "named configurations" would also have an automatic prerun-callback set up, but they do not. I think either this behavior should be implemented, or the docs should not that only the default configuration has an prerun-callback set up automatically.
One option for a fix: 1. Have prerun_callback accept the name as an argument, so: prerun_callback('named_config'); Would set up a prerun callback for that named config. 2. Document that for named configurations, you have to register your own callback. (Don't assume that all named configurations want or need the prerun callback. This behavior would be backwards compatible.