-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better workaround for Windows encoding issue.
Aaron Crane did some testing, and found that the error can be suppressed by any of: - removing the :crlf layer - using the :utf8 layer instead of :encoding(UTF-8) - using a file that ends in \r\n rather than \n - removing the C<< eof $fh >> test - leaving $/ unmodified, rather than setting it to undef So I decided to remove the $/. Removes a line of code, too.
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters