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'"); [download]