Skip Menu |

This queue is for tickets about the Perl-Tidy CPAN distribution.

Report information
The Basics
Id: 133166
Status: resolved
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: bane [...] iki.fi
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Encoding not set for -st
https://metacpan.org/source/SHANCOCK/Perl-Tidy-20200619/lib/Perl/Tidy.pm#L221-236 $fh is set to *STDOUT so it will never be equal to '-'. Changing $fh to $filename in these comparisons resolves the issue.
Thanks! I will include that in the next release, planned for later this month. Steve
Version 20200822 has this update. Thanks again for the bug report and diagnosis of the problem.