[cgiapp] Authentication cant find my driver
Jerry Kaidor
jerry at tr2.com
Fri Jun 18 11:14:24 EDT 2010
And just for yuks, I said:
require
'/usr/lib/perl5/site_perl/5.10.0/CGI/Application/Plugin/Authentication/Driver/DBI.pm'
...at the top of my application
and it found it.
Then I changed it to
require
'/usr/lib/perl5/site_perl/5.10.0/CGI/Application/Plugin/Authentication/Driver/MULTIDBI.pm'
and it DIDN'T find it.
So apparently there IS some sort of Perl system-wide list of files and
packages besides @INC. Can't be @INC because my file is in the same
directory. Right?
- Jerry Kaidor
> Hello,
>
> Really stuck here....
>
>
> I'm trying to create a new driver for CAP::Authentication. When I run
> my program, it says:
> ------- snip ----------
> Error executing class callback in prerun stage: Driver MULTI_DBI can not
> be found at
> /usr/lib/perl5/site_perl/5.10.0/CGI/Application/Plugin/Authentication.pm
> line 1096.
> --------- endsnip -------
>
> I put my driver ( MULTI_DBI.pm ) in the same directory as the existing
> drivers. It has the same ownership and permissions as the existing
> drivers.
> It has the same structure as the existing drivers, with the exception that
> instead of subclassing Driver, it subclasses Driver::DBI. I tried to
> change it to subclassing Driver instead, but no luck. I changed MULTI_DBI
> to MULTIDBI on the off chance that it didn't like the underscore, no luck.
>
> Grepping around, I can't find any list of drivers in Authentication.pm
> or Driver.pm.
>
> Is there some giant perl-wide list ( besides @INC ) of all the files
> that are available to require()?
>
> - Jerry Kaidor
>
>
>
> ##### CGI::Application community mailing list ################
> ## ##
> ## To unsubscribe, or change your message delivery options, ##
> ## visit: http://lists.openlib.org/mailman/listinfo/cgiapp ##
> ## ##
> ## Web archive: http://lists.openlib.org/pipermail/cgiapp/ ##
> ## Wiki: http://cgiapp.erlbaum.net/ ##
> ## ##
> ################################################################
>
More information about the cgiapp
mailing list