Beefy Boxes and Bandwidth Generously Provided by pair Networks
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 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1228794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-18 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found