For performance and consistancy, you'd be better off using
use constant MP2 => |$ENV{MOD_PERL_API_VERSION}| == 2 ? 1 : 0;
or just use the ENV directly
HTH
$ENV{MOD_PERL_API_VERSION}
Sorry, no |'s I cut and pasted from the webpage.
-- END ----------------------------------------------------------------------------- Philip M. Gollucci Senior Developer - Liquidity Services Inc. Phone: 202.568.6268 (Direct) E-Mail: [EMAIL PROTECTED] Web: http://www.liquidation.com