in reply to Re: A regex on the same content fails and works, with conditions
in thread A regex on the same content fails and works, with conditions
I added binmode, because I wanted to be sure the data coming off the socket was EXACTLY the same as what was expected.
The regex fails in the first case, whether I use binmode or not, in write_file().
In Section
Seekers of Perl Wisdom