in reply to Re: system call with variable interpolation
in thread system call with variable interpolation

put it in a file with #!/usr/bin/perl -- and it probably won't work -- your shell probably sets/expands $d before your perl program runs
  • Comment on Re^2: system call with variable interpolation

Replies are listed 'Best First'.
Re^3: system call with variable interpolation
by Bloodnok (Vicar) on Jul 15, 2011 at 13:25 UTC
    Not true - if you notice, the 'program' is in single quotes - which has the same effect in the shell as it does in a perl program i.e. variables aren't expanded.

    A user level that continues to overstate my experience :-))
      I could have sworn you had no double-quotes in there anywhere