RE: [Perl-unix-users] Print a variable's value with a variable

2001-05-22 Thread Thomas_M
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

2001-05-16 Thread Loo, Peter # PHX
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