in reply to Re^2: Windows and backslashes and replacements oh my!
in thread Windows and backslashes and replacements oh my!
Looks like somewhere a Unix tool like bash or another Perl is processing the file.
(Update: Obviously Perl needs to escape the backslash inside a regex)
FWIW: using $b2=chr(92)x2 might save you some typing
In Section Seekers of Perl Wisdom