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
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Morbus Iff
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- [MacPerl] [OT] "Morbus Iff's Program" Morbus Iff
- Re: [MacPerl] [OT] "Morbus Iff's Program" Morbus Iff
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Chris Nandor
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Gero Herrmann
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... John W Baxter
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Paul J. Schinder
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Chris Nandor
- Re: [MacPerl] Processes, Command Parameters, and Oth... John W Baxter
