For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > February 2005 > Upgrading from Perl 5.6 to Perl 5.8









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Upgrading from Perl 5.6 to Perl 5.8
Paul Ohashi

2005-02-24, 3:56 am

Hi all,

I've upgraded to Perl 5.8 from 5.6 and I'm getting output I don't =
understand when I try to install the DBI module.

I'm on Solaris 9 (Sparc) and I had Perl 5.0 and 5.6 installed as =
packages and I removed them with pkgrm. I then installed Perl 5.8 from =
ActiveState using ActivePerl-5.8.6.811-sun4-solaris.tar.gz.

Now I'm trying to install the DBI module and when I execute 'perl =
Makefile.PL' the output returned says:

I see you're using perl 5.008006 on sun4-solaris, okay.

There's nothing in my environment that says perl 5.0. My question is two =
fold: Where is this Makefile.PL getting the Perl version from and how do =
I fix this?

Thanks in advance,
Paul
Chris Devers

2005-02-24, 3:56 am

On Wed, 23 Feb 2005, Paul Ohashi wrote:

> I've upgraded to Perl 5.8 from 5.6 and I'm getting output I don't
> understand when I try to install the DBI module.
>
> I'm on Solaris 9 (Sparc) and I had Perl 5.0 and 5.6 installed as
> packages and I removed them with pkgrm. I then installed Perl 5.8 from
> ActiveState using ActivePerl-5.8.6.811-sun4-solaris.tar.gz.
>
> Now I'm trying to install the DBI module and when I execute 'perl
> Makefile.PL' the output returned says:
>
> I see you're using perl 5.008006 on sun4-solaris, okay.
>
> There's nothing in my environment that says perl 5.0. My question is
> two fold: Where is this Makefile.PL getting the Perl version from and
> how do I fix this?


Perl versioning is a little funny.

A while back, after Perl 5 came out, followup releases were seen as
merely patches to Perl5, not deserving major or even minor version
numbers, so they were denoted like 5.002 or 5.005_54.

Over time, it was realized that the language was in fact growing a lot,
and that these "trivial" revisions were actually significant. And that
the zeroes in 5.006 really shouldn't be there. So they came out.

Sort of.

For all purposes, a Perl version 5.00x00y is 5.x.y by more conventional
notation. Some things will still present the information to you in the
older format, which still lives on in Perl's deep, dark guts, but all
discussion of Perl will generally omit the zeroes, and most messages
from Perl will as well.

So. You installed ActivePerl-5.8.6.811-sun4-solaris.tar.gz (aka 5.8.6),
and are told by `perl Makefile.PL` that you have 5.008006. Squint your
eyes and you'll see that these are actually the same version.

If you're interested, this fills in *lots* of gaps:

<http://history.perl.org/PerlTimeline.html>

But anyway.

Yes, it's confusing.

Yes, it doesn't make sense even after being explained.

Yes, there are good reasons for the status quo, but they're weird.

Yes, supposedly Perl6 will fix this. Someday.

No, Perl 6 will not give you a pony. Sorry.


For now, just accept it as one of Perl's quirks.

Kind of like Java 1.4.5 being "Java Five", or whatever it is ... :-)



--
Chris Devers
Thomas Bätzler

2005-02-24, 8:56 am

Paul Ohashi <Paul.Ohashi@Quest.com> asked:
> Now I'm trying to install the DBI module and when I execute
> 'perl Makefile.PL' the output returned says:
>
> I see you're using perl 5.008006 on sun4-solaris, okay.
>
> There's nothing in my environment that says perl 5.0. My
> question is two fold: Where is this Makefile.PL getting the
> Perl version from and how do I fix this?


Try to squint a little bit - can't you see 5 . 8 . 6? ;-)

HTH,
Thomas
Wiggins d'Anconia

2005-02-24, 3:56 pm

Chris Devers wrote:
> On Wed, 23 Feb 2005, Paul Ohashi wrote:
>

[snip]
>
> Kind of like Java 1.4.5 being "Java Five", or whatever it is ... :-)
>


Anyone on Solaris should be already :-)... Solaris 9 isn't that SunOS 5.9???

http://danconia.org
Dan Fish

2005-02-24, 8:55 pm

>
> For now, just accept it as one of Perl's quirks.
>
> Kind of like Java 1.4.5 being "Java Five", or whatever it is ... :-)
>
>


Or maybe like Solaris 9 = Solaris 2.9 = SunOS 5.9 :-)

Gotta hand it to them Sun folks... Always keeping us guessing....

-Dan

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com