At 11:25 -0400 2001-04-11, Chris Nandor wrote:
>At 17:24 +0200 2001.04.11, Bart Lateur wrote:
>>On Wed, 11 Apr 2001 08:51:12 -0400, Chris Nandor wrote:
>>
>>>     $path =~ s/"/\"/g;
>>>     $url  =~ s/"/\"/g;
>>
>>I don't think this will do much. You must have forgotten to double the
>>backslashes.
>
>Oops!

Backslashes themselves also have to be escaped.

        $path =~ s/(["\\])/\\$1/g;
        $url  =~ s/(["\\])/\\$1/g;

Gero Herrmann
Nishinomiya, Japan

Reply via email to