Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to include \ in a variable?

by pileofrogs (Priest)
on Jan 28, 2010 at 22:04 UTC ( [id://820262]=note: print w/replies, xml ) Need Help??


in reply to How to include \ in a variable?

And you can always use single quotes inside of the double-quoted string, side-stepping the problem.

$goodtxt = qq(asterisk -rx "celliax_sendsms line0/$word[3] 'Good Passw +ord'");

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-03-29 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found