Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: system commands/shell and perl variables.by NetWallah (Canon) |
on Jan 22, 2019 at 06:42 UTC ( [id://1228794]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|