There's more than one way to do things | |
PerlMonks |
Re: String differs from printing to STDOUT and printing to fileby haukex (Archbishop) |
on Oct 23, 2019 at 10:53 UTC ( [id://11107885]=note: print w/replies, xml ) | Need Help?? |
To combine the points that rjt and GrandFather made, it'd be best if you inspect your string with Devel::Peek and your file with hexdump; I gave an example here.
In Section
Seekers of Perl Wisdom
|
|