in reply to Substituting literal strings for escape characters
Did you try with String::Escape?
Ciao, Valerio