Search results for "module:Perl::Critic::Policy::ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator"

Perl::Critic::Policy::ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator - Don't write print <<'__END__' . River stage three • 131 direct dependents • 386 total dependents

Using one of Perl's special literals as a HEREDOC terminator could be confusing to tools that try to parse perl. print <<'__END__'; #not ok Hello world __END__ print <<'__END_OF_WORLD__'; #ok Goodbye world! __END_OF_WORLD__ The special literals that ...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC
1 result (0.097 seconds)