Hi,
we have a problem. We want to test perlscripts in apache with two different
perl versions. The two versions don't have to exist concurrently, a manual
switching between them is sufficient.
Any ideas ?
Bernd
--
Bernd Lentes
Systemadministration
Institut für Entwicklungsgenetik
Gebäude
2013/1/15 Lentes, Bernd bernd.len...@helmholtz-muenchen.de
Hi,
we have a problem. We want to test perlscripts in apache with two
different perl versions. The two versions don't have to exist concurrently,
a manual switching between them is sufficient.
Any ideas ?
Bernd
--
Bernd
Alternatively create a symbolic link and use it as shebang in your perl cgi
scripts. You can switch the symlink then to what ever location you want.
Example:
# ln -s /usr/sbin/perl /usr/sbin/my_perl
In the cgi scripts the shebang:
#!/usr/sbin/my_perl
Test it. Then switch to the other perl