Re: RFC 328 (v1) Single quotes don't interpolate \' and \\

[email protected] ("David L. Nicol") Thu, 28 Sep 2000 17:48:25 -0500
Newsgroups perl.perl6.language.data
Organization University of Missouri - Kansas City supercomputing infrastructure
Message-ID <[email protected]>
I don't like it, and here's why:

> currently single quoted here docs don't interpolate C<\\> or C<\'>.


We already have a way to read in arbitrary literals.  I _like_ the
fact that C<q> allows backslash to be used to allow including the delimiter.

It works for any delimiter, too, not just single-quote.

Could I go for getting rid of C<\\> except directly preceding the delimiter?

I think not, since if you really need to quote a series of backslashes you
can do it using a here doc.