At 13:26 18.06.2002, Stas Bekman wrote:
>Andy Wardley wrote:
>>I've been playing around with Apache 2 and mod_perl 1.99 and considering
>>the changes I'll need to make to Apache::Template to make it play nicely
>>under the new world order.
>>Given that I want to continue to support Apache::Template for v1 users, 
>>should I create another module, say Apache2::Template, or is there some
>>preferred approach to v1/v2 compatabilities that I should consider?
>>I've read the compat.html doc and understand that I might be able to 
>>support Apache::Template as it is with the help of the Apache2 compatability
>>module.  However, I'm sure there are some parts, server/dir merging in 
>>particular (which seem to be broken in v1 anyway), which are going to need
>>new implementations for v2, so I figure it's probably worth forking the 
>>codebase sooner rather than later.
>
>No Andy, no need to rename, you can either maintain the two in one module 
>(if it's not too messy, which is the case if you have a lot of C) or just 
>two different versions which will install themselves into different dirs.
>
>Here are some preliminary notes discussing these issues.
>http://perl.apache.org/release/docs/2.0/devel/porting_from_1.x/porting_from_1.x.html
>Feel free to help improving on these.
>
>Of course the MP_INST_APACHE2=1 mechanism needs to become available to to 
>other module writers.

Stas is right. The only problem I see with MP_INST_APACHE2 is the fact that 
using the CPAN.pm module to download the module would fetch the newest 
version of the module, regardless of whether you wanted the one for 
mod_perl 2.0 or mod_perl 1.0.


-- 
Per Einar Ellefsen
[EMAIL PROTECTED]


Reply via email to