Dominique Quatravaux wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Geoffrey Young wrote:
if $ENV{MOD_PERL} is true you're running under mod_perl.
Sorry to be rude about this, but no. This *needs* fixing.
http://marc.theaimsgroup.com/?l=apache-modperl&m=112005579327997&w=2
Okay So I read this thread.
Whats wrong with: (from your own post)
>$mod_perl2::VERSION skips these drawbacks (it can only be altered from
>Perl and is not inherited) but it is currently not trustworthy either:
>$ perl -Mmod_perl2 -e 'print $mod_perl2::VERSION'
>2.000001
Why is that not trustworth ?
Are you saying you want a onliner function to return the version string
absolutely regardless of which mod_perl or mod_perls are installed.
that would be:
1.x
<1.99022
>=1.99023 (RC5)