- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 16 Dec 2009 19:02:35 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv30692/bin
Modified Files:
checklink
Log Message:
Quote heredoc terminators as suggested by perlcritic.
Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.173
retrieving revision 4.174
diff -u -d -r4.173 -r4.174
--- checklink 16 Dec 2009 18:56:44 -0000 4.173
+++ checklink 16 Dec 2009 19:02:32 -0000 4.174
@@ -1038,7 +1038,7 @@
&encode(sprintf($Cfg{CSS_Validator_URI}, $esc_uri)),
&encode($Opts{_Self_URI}));
- printf(<<EOF, $result_anchor);
+ printf(<<'EOF', $result_anchor);
<div class="progress" id="progress%s">
<h3>Status: <span></span></h3>
<div class="progressbar"><div></div></div>
@@ -1934,7 +1934,7 @@
}
if ($Opts{Command_Line}) {
- printf STDERR <<EOF, $response->request()->url(), $realm;
+ printf STDERR <<'EOF', $response->request()->url(), $realm;
Authentication is required for %s.
The realm is "%s".
@@ -1965,7 +1965,7 @@
my $host = $response->request()->url()->host();
if ($Opts{Trusted} && $host !~ $Opts{Trusted}) {
- printf <<EOF, &encode($Opts{Trusted}), &encode($host);
+ printf <<'EOF', &encode($Opts{Trusted}), &encode($host);
This service has been configured to send authentication only to hostnames
matching the regular expression <code>%s</code>, but the hostname
<code>%s</code> does not match it.
@@ -2118,7 +2118,7 @@
print_doc_header();
print('<p>') if $Opts{HTML};
print('List of duplicate and empty anchors');
- print <<EOF if $Opts{HTML};
+ print <<'EOF' if $Opts{HTML};
</p>
<table class="report" border="1" summary="List of duplicate and empty anchors.">
<thead>
@@ -2442,7 +2442,7 @@
if ($Opts{HTML}) {
# Print a summary
- print <<EOF;
+ print <<'EOF';
</h3>
<p><em>There are issues with the URLs listed below. The table summarizes the
issues and suggested actions by HTTP response status code.</em></p>
Received on Wednesday, 16 December 2009 19:02:47 UTC