in reply to Re: system commands/shell and perl variables.
in thread system commands/shell and perl variables.

In addition to what choroba pointed out,

the $ (Dollar sigil) in the shell code need to be escaped .. otherwise they will be interpreted by perl.

So - in this case - your passing of the value of $vm_run and $VNCPORT should work OK, but $DOM_ID, $2, $1, and $6 SHELL variables all need to have their $ escaped (pre-pending a "\").

                As a computer, I find your faith in technology amusing.

  • Comment on Re^2: system commands/shell and perl variables.