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

perl/modules/W3C/LinkChecker/bin checklink,4.42,4.43

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 25 Nov 2006 12:48:54 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Gnwxi-00049s-7o@lionel-hutz.w3.org>

Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv15946

Modified Files:
	checklink 
Log Message:
Appease B::Lint.

Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.42
retrieving revision 4.43
diff -u -d -r4.42 -r4.43
--- checklink	22 Oct 2006 16:48:13 -0000	4.42
+++ checklink	25 Nov 2006 12:48:51 -0000	4.43
@@ -283,7 +283,7 @@
   require Text::Wrap;
   Text::Wrap->import('wrap');
 
-  &usage(1) unless @ARGV;
+  &usage(1) unless scalar(@ARGV);
 
   $Opts{_Self_URI} = 'http://validator.w3.org/checklink'; # For HTML output
 
Received on Saturday, 25 November 2006 12:49:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:55 GMT