in reply to Re: Escape from backslash hell
in thread Escape from backslash hell

If you are going to avoid "leaning toothpicks" by using a different delimiter, then you might as well drop all of the useless ones:
s:/:\\/:g;
(Note that I don't like using metacharacters which are meaningful within a substitution. Hence my avoiding the pipes.)