>>The otherthing is the test suite, which need to know which version we are
>>using and startup.pl need to decide to load Apache::Registry or
>>ModPerl::Registry. I currently check $ENV{MOD_PERL}, is there a better way
>>to decide, if we are running under mod_perl, something like
>>$ModPerl::MajorVersion == 2 would be cool?
> 
> 
> you can also use mod_perl (); and check $mod_perl::VERSION 

Gerald, I've started:
http://perl.apache.org/release/docs/2.0/devel/porting_from_1.x/porting_from_1.x.html
which already covers some of the porting bits (like $mod_perl::VERSION). 
It'd be very nice if while you are porting you could commit/submit 
things that will aid others who need to port to 2.0. Thanks!

__________________________________________________________________
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to