On 14 Sep 2000, at 21:06, Glenn Linderman wrote: > I _like_ the conceptual idea, here. But I think we need a different kind of > quoting, not extend single quote semantics. Single quote semantics are really, > really, good for exact quoting. I'm sure you (since you mention VMS) find single > quote semantics good for escaping all those $ VMS requires. Well, we who are > forced to use Windoze find single quote semantics good for escaping all those \ > used in NT file names. So this proposal as now written blows that away: > > $x = 'C:\IN\MY\DIRECTORY\THERE\IS\A\FILE\NAMED\$FOO'; This becomes fun with UNC names, which have two backslashes at the beginning. But \\ in a single-quoted string becomes one backslash, so the filename is '\\\\SERVER\SHARE\ONLY\ONE\SLASH\NOW' :-) Cheers, Philip
- Re: RFC 226 (v2) Selective interpolation in single quoti... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in single quoti... Jerrad Pierce
- Re: RFC 226 (v2) Selective interpolation in single quoti... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in single quoti... Damian Conway
- Re: RFC 226 (v2) Selective interpolation in single ... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in single ... Damian Conway
- Re: RFC 226 (v2) Selective interpolation in sin... Uri Guttman
- Re: RFC 226 (v2) Selective interpolation in sin... Damian Conway
- Re: RFC 226 (v2) Selective interpolation in... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in single quoti... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in single ... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in single ... Bart Lateur
- Re: RFC 226 (v2) Selective interpolation in single quoti... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in single quoti... Andy Dougherty
- Re: RFC 226 (v2) Selective interpolation in single ... Nathan Wiger
- Re: RFC 226 (v2) Selective interpolation in sin... Steve Fink
- Re: RFC 226 (v2) Selective interpolation in... Bart Lateur
- Re: RFC 226 (v2) Selective interpolation in... Michael Fowler
- Re: RFC 226 (v2) Selective interpolation in... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in single quoti... Brad Hughes