Skip Menu |

This queue is for tickets about the CGI-Builder-Auth CPAN distribution.

Report information
The Basics
Id: 20211
Status: new
Priority: 0/
Queue: CGI-Builder-Auth

People
Owner: Nobody in particular
Requestors: rustyp [...] freeshell.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 0.06



Subject: load_factory validation in CGI::Builder::Auth::Context is a bit strange.
That function load factory elements by path. Wouldn't it make more sense to first try to find the required elements in the working library (by trying eval("require " . $_) ) before you do "require File::Spec..."? If not, then you might consider mentioning that a path (rather than a valid package name) is what is required to use CGI::Builder::Auth. I just spent a few days tracking this down. It's possible that it affects other people as well.