in reply to Re: slashes in single-quoted string
in thread slashes in single-quoted string
I'm not sure what the OP wants to achieve with the post (simply express anger, or suggest this should be changed in an upcoming release(?)), but I guess the idea is that '\\' (or q{\\}) would mean two backslashes — i.e. you simply cannot escape the delimiter, which means you'd just have to choose a different delimiter (using q) in those cases.
Typical pitfall with the current workings is that you tend to forget to escape the double backslashes in UNC paths, such as
my $dir = q{\\\\dfsshare\foo\bar}; ^ ^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: slashes in single-quoted string
by LanX (Saint) on Apr 29, 2011 at 22:11 UTC | |
by Eliya (Vicar) on Apr 29, 2011 at 22:59 UTC |