[CentOS] more recent perl version?

hw hw at gc-24.de
Wed May 24 12:02:33 UTC 2017


Warren Young schrieb:
> On May 23, 2017, at 10:44 AM, hw <hw at gc-24.de> wrote:
>>
>> are there packages replacing the ancient perl version in
>> Centos 7 with a more recent one, like 5.24?
>
> Since when is Perl 5.16 “ancient?”  It’s only 4 years old.
>
> CentOS 5 just left supported status, which shipped Perl 5.8.8 from first release to last, which means I’ll probably still be limited to Perl 5.8 features for a few years yet, since the remaining CentOS 5 boxes I’m supporting can’t be upgraded and won’t likely be turned off until they fall over dead.  That makes Perl 5.10 “the future” from my perspective.

Living in the past seldwhen is a good idea.

> If this sort of stance seems risible to you, you probably shouldn’t be using CentOS.  This is what distinguishes a “stable” type of OS from a “bleeding edge” one.

When a version of a software has been released 20 years ago,
that doesn´t mean it´s more stable than a version of that
software which is being released today.

Of course, you can consider "never change the version of the
software" as something making for a stable OS.  But what about
the bug fixes?

>
>> At least the state feature is required.
>
> According to the docs,[*] that feature has been in Perl since 5.10.  This appears to confirm it:
>
>      $ perl -e "use feature 'state'" && echo yes
>
> Are you looking for something else, or do you have a simple test case that shows what’s provided in CentOS 7 is insufficient?

Ah, yes, that does work.  Sorry, I guess it was signatures rather
than state.  I´m getting


Feature "signatures" is not supported by Perl 5.16.3 at ...


with CGI scripts.  And who knows what else might cause problems.

The software has been written with perl 5.20.1, which is already
rather old.


>
>
> [*]: http://perldoc.perl.org/feature.html#The-'state'-feature
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>




More information about the CentOS mailing list