http://www.perlmonks.org?node_id=835620


in reply to Re^2: Search and replace again
in thread Search and replace again

I was curious why you binmode STDOUT in your code (and in your other example) - is it to ensure you have UNIX line endings (and not CRLFs) in the output if Perl is running on Windows?