On Wed, 11 Apr 2001 11:34:30 -0400, Morbus Iff wrote: > >>> $path =~ s/"/\"/g; > >>> $url =~ s/"/\"/g; > >> > >>I don't think this will do much. You must have forgotten to double the > >>backslashes. > > > >Oops! > >Well, it looks like I'm the horribly confused <g>... What'd I'd miss? The fact that s/"/\"/g; does the same as s/"/"/g; and replacing quotes with quotes doesn't do anything useful. If you want a literal backslash, you need to put 2 backslashes there. s/"/\\"/g; -- Bart.
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Chris Nandor
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Morbus Iff
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Morbus Iff
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Alan Fry
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Bart Lateur
- Re: [MacPerl] Processes, Command Parameters, and Other Ap... Chris Nandor
- 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