perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Khera <kh...@kcilink.com>
Subject ModPerl::MethodLookup questionalbe recommendation
Date Thu, 28 Jul 2005 19:55:28 GMT
I'm converting my main app to mp2.  The following advice seems  
incorrect to me:

% perl -MModPerl::MethodLookup -e print_method is_main
'is_main' is not a part of the mod_perl 2.0 API
use 'main' instead.  not in the Apache 2.0 API
To use method 'main' add:
         use Apache2::RequestRec ();


I believe the more appropriate replacement of is_main() would be  
is_initial_req() from Apache2::RequestUtil().

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                MailerMailer, LLC     Rockville, MD
http://www.MailerMailer.com/                     +1-301-869-4449 x806



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message