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

Reply via email to