Shannon Eric Peevey wrote: [...]
Also, you don't realy have to do that. The old ala mp1 style works just fine.
use Apache::Const qw(OK DECLINED)
sub handler {
return OK;
}
Well... I must have been smoking crack, 'cause I seem to remember a simple:
return MP2 ? Apache::OK : OK
throwing an error, hence, the change to:
MP2 ? Apache::OK : Apache::Constants::OK
Now that I test it, though, there doesn't seem to be a problem... :P
May be you haven't been importing the constant. These two aren't the same:
use Apache::Const qw(OK DECLINED); use Apache::Const -compile => qw(OK DECLINED);
the latter only compiles the constants, the former compiles and imports it.
[...]
Thanks. I have received that permission from Mr. Horner since I have written this email. I have contacted the [EMAIL PROTECTED] gang, but they haven't responded yet. (No problems, as I am about to start on Apache-AuthNTLM.) I will upload another version to CPAN when they give me authorization. :)
Also, I have ported:
Apache-AuthenPasswd Apache-AuthzPasswd
I've updated the online list.
with notices as to the limitations of these modules. (I inherited these with the AuthenNIS mods... Haven't had a chance to port those yet, though.) They have been uploaded and indexed on CPAN.
Since you now have the perms, you no longer need to get the blessing from the modules list. Simply go ahead and upload your module. First go to the PAUSE interface and check that you actually co-own the modules in question.
Also need to get excited about getting the authperlldap mod done as well... :)
;)
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com