From: Vladimir Date: 2012-04-14T03:24:29+09:00 Subject: Re: how to avoid escaping special chars after backslah in string This is a multi-part message in MIME format. --------------020400030803040906060807 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 04/13/2012 09:01 PM, Roger Pack wrote: > so what's your ideal syntax here? > if you need a avoid escaping completely you can use /heredoc/ myText =< On 04/13/2012 09:01 PM, Roger Pack wrote:
so what's your ideal syntax here?

if you need a avoid escaping completely you can use

heredoc

myText = <<DOC
Please Det \ \t \n \r ach and return this coupon with your payment.
Do not send cash or coins.

Please write your name and account number on the check and
make checks payable to:

        Acme Corporation

Thank you for your business.
DOC

all characters will be saved as you print them without escaping 

--------------020400030803040906060807--