RE: [Perl-unix-users] Print a variable's value with a variable
Peter, Your file is syntactically valid Perl, so you can eval() it to do what you want. - Mark. ___ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
[Perl-unix-users] Print a variable's value with a variable
Hi All, A file containing the following: $MAINDIR="/usr/local/apps/${APPL}/${ENVR}"; $DBUTILDIR="${MAINDIR}/dbutil"; $OUTDIR="${MAINDIR}/logs"; $LOGDIR="${MAINDIR}/logs"; $BINDIR="${MAINDIR}/bin"; $SQLDIR="${MAINDIR}/sql"; $TMPDIR="${MAINDIR}/tmp"; $SECDIR="${MAINDIR}/secured