By no means am I even remotely conversant in Perl, but we have several modules in our Unix (AIX) environment from a previous mad monk perl coder that our team needs to maintain.
We are in the process of migrating from RSH to SSH as our means of remotely executing shell scripts on remote systems. The use of SSH in a shell script requires us to do an export:
export LIBPATH=/opt/freeware/lib:/opt/freeware/64/lib:/usr/lib:$LIBPATH
How can I replicate this in a Perl script?
Currently our Perl script calls rsh via the following:
`rsh remotesys -l uid /apps/lbin/PkDataMove.sh prod`;
Any thoughts or suggestions would be appreciated!