You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Carl Brewer <ca...@bl.echidna.id.au> on 2003/05/19 14:06:11 UTC

mp2: $mod_perl::VERSION?


I've got 1.99_09 installed on a Solaris 8 box :

Embperl/2.0b8 Apache/2.0.45 (Unix) mod_perl/1.99_09 Perl/v5.8.0 Server

But when I run this :
use mod_perl;
use Apache::Session::MySQL;

print "Content-type: text/plain\n\n";
print $mod_perl::VERSION;


I see this :

1.9907

Is that what I should expect?  I'd have thought it would have
been 1.9909?

Carl




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mp2: $mod_perl::VERSION?

Posted by Carl Brewer <ca...@bl.echidna.id.au>.

Stas Bekman wrote:

> Carl Brewer wrote:
> 
>>
>>
>> I've got 1.99_09 installed on a Solaris 8 box :
>>
>> Embperl/2.0b8 Apache/2.0.45 (Unix) mod_perl/1.99_09 Perl/v5.8.0 Server
>>
>> But when I run this :
>> use mod_perl;
>> use Apache::Session::MySQL;
>>
>> print "Content-type: text/plain\n\n";
>> print $mod_perl::VERSION;
>>
>>
>> I see this :
>>
>> 1.9907
>>
>> Is that what I should expect?  I'd have thought it would have
>> been 1.9909?
> 
> 
> find /whereever/your/perl/is |grep mod_perl.pm | xargs grep '$VERSION'
> 
> Do you have two mod_perl.pm files by chance? That would explain the issue.

I had a few of them :)

Old ghosts from old installs, thanks :)

Carl




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: mp2: $mod_perl::VERSION?

Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> 
> 
> I've got 1.99_09 installed on a Solaris 8 box :
> 
> Embperl/2.0b8 Apache/2.0.45 (Unix) mod_perl/1.99_09 Perl/v5.8.0 Server
> 
> But when I run this :
> use mod_perl;
> use Apache::Session::MySQL;
> 
> print "Content-type: text/plain\n\n";
> print $mod_perl::VERSION;
> 
> 
> I see this :
> 
> 1.9907
> 
> Is that what I should expect?  I'd have thought it would have
> been 1.9909?

find /whereever/your/perl/is |grep mod_perl.pm | xargs grep '$VERSION'

Do you have two mod_perl.pm files by chance? That would explain the issue.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org