On Jul 3, 2005, at 2:10 PM, Jim Albert wrote:
Can you give me the logic to handle that properly in a single code file. Thanks again.


I think your key here is the MOD_PERL_API_VERSION environment variable.

BEGIN {
   if ( $ENV{MOD_PERL_API_VERSION} == 2 ) {
       # do mp2 stuff
   }
}
-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/  - http://www.eigenstate.net/
415-225-6703 (work/cellphone)
415-401-8325 (home)

Reply via email to