W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2009

validator/misc docs_errors.pl,1.13,1.14 spmpp.pl,1.4,1.5

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Nov 2009 18:59:01 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1ND0bN-0005Im-G3@lionel-hutz.w3.org>
Update of /sources/public/validator/misc
In directory hutz:/tmp/cvs-serv20339/misc

Modified Files:
	docs_errors.pl spmpp.pl 
Log Message:
Fix perlcritic "Heredoc terminator must be quoted" errors.

Index: spmpp.pl
===================================================================
RCS file: /sources/public/validator/misc/spmpp.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- spmpp.pl	23 Nov 2009 22:24:15 -0000	1.4
+++ spmpp.pl	24 Nov 2009 18:58:59 -0000	1.5
@@ -34,7 +34,7 @@
 }
 close FH;
 
-print <<EOF;
+print <<"EOF";
 #
 # Automatically Generated by $0
 #
@@ -53,7 +53,7 @@
 # the last digit of the "muid" is replaced at runtime).
 #
 for (@msg) {
-    print <<EOF;
+    print <<"EOF";
 <msg $_->[0]>
   original = $_->[1]
   verbose <<.EOF.

Index: docs_errors.pl
===================================================================
RCS file: /sources/public/validator/misc/docs_errors.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- docs_errors.pl	23 Nov 2009 22:24:15 -0000	1.13
+++ docs_errors.pl	24 Nov 2009 18:58:59 -0000	1.14
@@ -53,7 +53,7 @@
         $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'$@'
Received on Tuesday, 24 November 2009 18:59:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:40 UTC