Re: more recent perl version?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 
> Thanks, I tried rh-perl, and it worked for a test.  It does not replace the existing
> perl installation.  You have to explicitly use that version.

Yes, that's how SCL works. A lot of system software uses perl (and
python and gcc) so replacing the installed version without testing the
effect it might have on the system is not advisable.  i.e. things will
break. The whole point of the RHEL/CentOS is that the versions of
software are stable (strong and stable even) and that everything is
exhaustively tested to make sure things work.

> 
> Im not sure if thats possible for CGI.  I do get 5.24 after running
> 'scl enable rh-perl524 bash'.  Is there a way to get that for CGI?
> 

All (!) that the 'scl enable' command does is to set environment
variables for things like PATH and LD_LIBRARY_PATH. If you can do that
for the CGI environment, then it will pick up the correct perl version.
But don't ever be tempted to make updated versions the default.

P.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux