Search results for "module:Perl::Critic::Policy::InputOutput::RequireEncodingWithUTF8Layer"
Perl::Critic::Policy::InputOutput::RequireEncodingWithUTF8Layer - Write < open $fh, q{<:encoding(UTF-8)}, $filename; > instead of < open $fh, q{<:utf8}, $filename; >.
Use of the ":utf8" I/O layer (as opposed to ":encoding(UTF8)" or ":encoding(UTF-8)") was suggested in the Perl documentation up to version 5.8.8. This may be OK for output, but on input ":utf8" does not validate the input, leading to unexpected resul...
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC