diff options
author | ville <ville@localhost> | 2009-11-24 18:58:59 +0000 |
---|---|---|
committer | ville <ville@localhost> | 2009-11-24 18:58:59 +0000 |
commit | a0d3291a7ee90c37db171517f3151db20ee9735b (patch) | |
tree | 1ae9c32ad405a755011eb2e16582ce8ece1cf270 /misc | |
parent | fa59ca83a3591ae2e036634088c70f56a60a4363 (diff) | |
download | markup-validator-a0d3291a7ee90c37db171517f3151db20ee9735b.zip markup-validator-a0d3291a7ee90c37db171517f3151db20ee9735b.tar.gz markup-validator-a0d3291a7ee90c37db171517f3151db20ee9735b.tar.bz2 |
Fix perlcritic "Heredoc terminator must be quoted" errors.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/docs_errors.pl | 4 | ||||
-rwxr-xr-x | misc/spmpp.pl | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/misc/docs_errors.pl b/misc/docs_errors.pl index 7ec0f81..606f661 100755 --- a/misc/docs_errors.pl +++ b/misc/docs_errors.pl @@ -2,7 +2,7 @@ ## ## Generates HTML documentation of error messages and explanations ## for W3C Markup Validation Service -## $Id: docs_errors.pl,v 1.13 2009-11-23 22:24:15 ville Exp $ +## $Id: docs_errors.pl,v 1.14 2009-11-24 18:58:59 ville Exp $ ## Pragmas. use strict; @@ -53,7 +53,7 @@ BEGIN { $CFG = \%cfg; }; if ($@) { - die <<EOF; + die <<"EOF"; Could not read configuration. Set the W3C_VALIDATOR_CFG environment variable or copy conf/* to /etc/w3c/. Make sure that the configuration file and all included files are readable by the web server user. The error was:\n'$@' diff --git a/misc/spmpp.pl b/misc/spmpp.pl index b988b99..2a88523 100755 --- a/misc/spmpp.pl +++ b/misc/spmpp.pl @@ -4,7 +4,7 @@ # for use in the Validator, from an OpenSP ParserMessages.rc. # (spmpp = "SP Message Pre-Processor") # -# $Id: spmpp.pl,v 1.4 2009-11-23 22:24:15 ville Exp $ +# $Id: spmpp.pl,v 1.5 2009-11-24 18:58:59 ville Exp $ # # @@ -34,7 +34,7 @@ while (<FH>) { } close FH; -print <<EOF; +print <<"EOF"; # # Automatically Generated by $0 # @@ -53,7 +53,7 @@ EOF # the last digit of the "muid" is replaced at runtime). # for (@msg) { - print <<EOF; + print <<"EOF"; <msg $_->[0]> original = $_->[1] verbose <<.EOF. |