...
ksa@cdlogin3 $ scl --list | grep perl
rh-perl524
ksa@cdlogin3 $ cat ~ksa/public/perl.scl.example.pl
#!/usr/bin/scl enable rh-perl524 -- perl
print "$^V\n";
ksa@cdlogin3 $ ~ksa/public/perl.scl.example.pl
v5.24.0
Here is a python 3.7 example:
ksa@lnxcron $ cat ~ksa/bin/python-scl-test.py
#!/usr/bin/scl enable rh-python36 -- python
from platform import python_version
print('Hello, this is Python', python_version())ksa@lnxcron $ ~ksa/bin/python-scl-test.py
Hello, this is Python 3.6.3
The Red Hat Developer Toolset (DTS) is intended to give developers access to updated compilers and tools for C and C++ development.
...