Re: Environment variable evaluation in a conditional

2007-09-22 Thread smdspamcatcher
On Sep 20, 9:29 am, [EMAIL PROTECTED] wrote: > On Sep 20, 2:54 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > > > > > > > [EMAIL PROTECTED] wrote: > > > > I am currently trying to write a Perl program in a Solaris 9 > > > environment > > > I am trying to process a list of variables with UNIX environmen

Re: Environment variable evaluation in a conditional

2007-09-21 Thread smdspamcatcher
On Sep 20, 2:54 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > [EMAIL PROTECTED] wrote: > > > I am currently trying to write a Perl program in a Solaris 9 > > environment > > I am trying to process a list of variables with UNIX environment > > variables embedded in them of the form > > $dir_to_check =

Environment variable evaluation in a conditional

2007-09-20 Thread smdspamcatcher
I am currently trying to write a Perl program in a Solaris 9 environment I am trying to process a list of variables with UNIX environment variables embedded in them of the form $dir_to_check = "$ENV_VAR1/some_dir/$ENV_VAR2/another_dir"; and I am trying to find if another_dir exists, so I have a lin