chuckycharms has asked for the wisdom of the Perl Monks concerning the following question:
to print out this:$goodtxt = "asterisk -rx \"celliax_sendsms line0/$word[3] \"Good Passw +ord\"\""; system($goodtxt);
Also I did define $word3, the issue is I dont know how to print the \ into the system command. Any Suggestions?asterisk -rx "celliax_sendsms line0/18157185089 \"your vehicle is now +starting\""
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to include \ in a variable?
by desemondo (Hermit) on Jan 28, 2010 at 21:45 UTC | |
|
Re: How to include \ in a variable?
by toolic (Bishop) on Jan 28, 2010 at 21:47 UTC | |
|
Re: How to include \ in a variable?
by ikegami (Patriarch) on Jan 28, 2010 at 22:37 UTC | |
|
Re: How to include \ in a variable?
by pileofrogs (Priest) on Jan 28, 2010 at 22:04 UTC | |
|
Re: How to include \ in a variable?
by Anonymous Monk on Jan 28, 2010 at 21:46 UTC | |
|
Re: How to include \ in a variable?
by chuckycharms (Initiate) on Jan 28, 2010 at 21:35 UTC |