I'm looking at the code at the modperl.com site <http://www.modperl.com/book/chapters/ch6.html > ('Authenticating against a database') as I need to write an authentication handler for our site.

This is part of the sample code:

# file: Apache/GateKeeper.pm
use strict;
use Apache::Constants qw(:common);
sub handler {
my $r = shift;
my $gate = $r->dir_config("Gate");

for mod_perl2 do I just use

Apache2::Const qw(:common);

and use the rest of that code as a model or will I run into other issues?


--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


Reply via email to