On Tue, 4 Jun 2002, Gerald Richter wrote:
> $mod_perl::VERSION returns 1.9903, which is the same or similar then
> $ENV{MOD_PERL} which I using right now, but you need to split it with a
> regex and compare, and a 1 before the point is mod_perl 2 if after the point
> it start with 99...., not very nice.
split? regex? huh?
if ($mod_perl::VERSION >= 1.99) {
#this is 2.x
}
else {
#this is 1.x
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]