Perl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator3pm
Write " <<'the_end'; " instead of " <<'theend'; ".
Affiliation
This Policy is part of the core Perl::Critic distribution.
Overview
For legibility, HEREDOC terminators should be all UPPER CASE letters (and numbers), without any whitespace. Conway also recommends using a standard prefix like "END_" but this policy doesn't enforce that.
print <<'the End'; #not okHello Worldthe Endprint <<'THE_END'; #okHello WorldTHE_END
Configuration
This Policy is not configurable except for the standard options.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 9 times.