- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 23 Nov 2009 22:24:17 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/misc
In directory hutz:/tmp/cvs-serv11380/misc
Modified Files:
docs_errors.pl spmpp.pl
Log Message:
Fix "Unconventional here-target" perltidy warnings.
Index: spmpp.pl
===================================================================
RCS file: /sources/public/validator/misc/spmpp.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- spmpp.pl 23 Nov 2009 22:15:18 -0000 1.3
+++ spmpp.pl 23 Nov 2009 22:24:15 -0000 1.4
@@ -34,12 +34,12 @@
}
close FH;
-print <<".EOF.";
+print <<EOF;
#
# Automatically Generated by $0
#
-.EOF.
+EOF
#
# For each message, spit out a Config::General config file snippet.
@@ -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.
@@ -69,7 +69,7 @@
</div>
.EOF.
</msg>
-_.EOF._
+EOF
}
exit;
Index: docs_errors.pl
===================================================================
RCS file: /sources/public/validator/misc/docs_errors.pl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- docs_errors.pl 23 Nov 2009 22:15:18 -0000 1.12
+++ docs_errors.pl 23 Nov 2009 22:24:15 -0000 1.13
@@ -53,11 +53,11 @@
$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'$@'
-.EOF.
+EOF
}
} # end of BEGIN block.
Received on Monday, 23 November 2009 22:24:20 UTC