![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: String differs from printing to STDOUT and printing to fileby hippo (Bishop) |
on Oct 23, 2019 at 10:24 UTC ( #11107880=note: print w/replies, xml ) | Need Help?? |
As you are appending, perhaps the file originally terminates with a solo carriage return? Hexdump the file to see for sure. Alternatively, try with an overwrite instead of an append to see if the problem still exists.
In Section
Seekers of Perl Wisdom
|
|