perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: [mp2] Ported 3rd-party Modules
Date Thu, 09 Dec 2004 02:34:28 GMT

John D Groenveld wrote:
> <URL:>
> I've updated Apache::AuthenURL and Apache::DBILogin for mod_perl2.

just a few notes:

    return MP2 ? Apache::OK : Apache::Constants::OK;

if you don't use the -compile option to Apache::Const then these can both
just be OK (and the same with the other constants), which would make things
a bit easier on you.

    my $user = MP2 ? $r->user : $r->connection->user;

the $r->user alias to $r->connection->user has been available in mp1 since
1.24_01 (october 2000), which is another way to simplify things a bit.



Report problems:
Mail list info:
List etiquette:

View raw message