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

perl/modules/W3C/LinkChecker/bin checklink,4.175,4.176

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 16 Dec 2009 19:10:52 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NKzGu-0008Lj-Aw@lionel-hutz.w3.org>
Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv32073/bin

Modified Files:
	checklink 
Log Message:
Document why utf8_mode is in an eval block.

Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.175
retrieving revision 4.176
diff -u -d -r4.175 -r4.176
--- checklink	16 Dec 2009 19:04:57 -0000	4.175
+++ checklink	16 Dec 2009 19:10:50 -0000	4.176
@@ -1632,7 +1632,7 @@
 sub new
 {
   my $p = HTML::Parser::new(@_, api_version => 3);
-  eval {
+  eval { # ...because utf8_mode is only available with Perl >= 5.8.
     local $SIG{__DIE__} = undef;
     $p->utf8_mode(1);
   };
Received on Wednesday, 16 December 2009 19:10:56 GMT

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