On Fri, 15 Sep 2000 11:25:31 -0700, Steve Fink wrote: >Does it strike anyone else as odd that 'foo\\bar' eq 'foo\bar'? It's an necessary evil. You need a way to escape the string delimiter, so that it can be included in the string, for which the backslash is used. Hence, you need to be a be to escape the backslash as well, or else you could never incorporate a backslash+delimiter sequence in the string. Note that backlash and delimiter are the *only* things for which the backslash character serves as an escape character: print q!\'\"\/\!\\!; --> \'\"\/!\ print q/\'\"\/\!\\/; --> \'\"/\!\ -- Bart.
- 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
- Re: RFC 226 (v2) Selective interpolation in single quoti... Jerrad Pierce
- Re: RFC 226 (v2) Selective interpolation in single ... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in single quoti... Jerrad Pierce