in reply to Pattern matching in binary mode
"binmode" is only relevant for some OSses, and have to do with translation of end-of-line markers.
Hence, whether you want to replace the ASCII character 7, or the byte 37, you'd do the same.
ands/7/this is a seven/;
will do the same thing.s/\x37/this is a seven/;
Abigail
|
|---|