in reply to Re: FTP Problems
in thread FTP Problems
Um, please try your first suggestion youself. ;) \ is still special inside of single quotes and will escape the trailing delimiter, just like it did in the original code. Yes, if the \ is not followed by another \ or your string delimiter (or either of your string delimiters if using nesting delimiters as in q{}), then the \ will be preserved within single quotes. I discourage that because I feel that it leads to mistakes when the \ is followed by one of these characters. If someone as sharp as Fastolfe can get snagged by this, then I think my paranoia is justified. (:
I always double backslashes when I want a backslash unless I'm in a "here doc".
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: \ in single quotes (Re: FTP Problems)
by Fastolfe (Vicar) on Jan 26, 2001 at 22:40 UTC | |
by tye (Sage) on Jan 26, 2001 at 22:43 UTC |