On Thu, 14 Sep 2000 21:06:24 -0700, Glenn Linderman wrote: >However, let's look at it the other way. How about instead of trying to _extend_ >single quote semantics, that instead we find a way of _disabling_ double quote >semantics? Let's say within double quotes that \D reverts to single-quote >semantics with the extension that \E ends them again. I think I like this better. There frequently are threads on comp.lang.perl.misc on people that are opposed to double quotes around strings that don't use any interpolation, because "the double quotes are a warning flag that there is something going on in this string" (paraphrased). And they tend to be slightly disappointed if it turns out to be a false alarm. Invert this: single quotes are a flag that "this string is safe". And now, you're going to add a facility that destroys this safe image? Please, let the programmer in his peace. Let the single quotish strings remain safe. OTOH, double quotish strings already *are* intrinsically unsafe. An option to locally disable interpolation is no extra burden. -- Bart.
- RFC 226 (v2) Selective interpolation in single quotish... Perl6 RFC Librarian
- Re: RFC 226 (v2) Selective interpolation in singl... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in singl... Damian Conway
- Re: RFC 226 (v2) Selective interpolation in s... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in s... Damian Conway
- Re: RFC 226 (v2) Selective interpolation ... Uri Guttman
- Re: RFC 226 (v2) Selective interpolation ... Damian Conway
- Re: RFC 226 (v2) Selective interpolat... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in singl... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in s... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in s... Bart Lateur
- Re: RFC 226 (v2) Selective interpolation in singl... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in singl... Andy Dougherty
- Re: RFC 226 (v2) Selective interpolation in s... Nathan Wiger
- Re: RFC 226 (v2) Selective interpolation ... Steve Fink
- Re: RFC 226 (v2) Selective interpolat... Bart Lateur
- Re: RFC 226 (v2) Selective interpolat... Michael Fowler
- Re: RFC 226 (v2) Selective interpolat... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in singl... Brad Hughes
- Re: RFC 226 (v2) Selective interpolation in singl... Jerrad Pierce
- Re: RFC 226 (v2) Selective interpolation in s... Jarkko Hietaniemi