[CentOS] more recent perl version?

Warren Young warren at etr-usa.com
Tue May 23 17:06:27 UTC 2017


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.

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.

> 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?


[*]: http://perldoc.perl.org/feature.html#The-'state'-feature




More information about the CentOS mailing list