link-checker commit: Clean up arguments passed to HTML::Parser handlers.

changeset:   137:f00b04f44da5
user:        ville
date:        Sat May 06 18:19:49 2006 +0000
files:       bin/checklink
description:
Clean up arguments passed to HTML::Parser handlers.


diff -r 9526d52ee41c -r f00b04f44da5 bin/checklink
--- a/bin/checklink	Fri May 05 19:40:38 2006 +0000
+++ b/bin/checklink	Sat May 06 18:19:49 2006 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2005 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.27 2006-05-05 19:40:38 ville Exp $
+# $Id: checklink,v 4.28 2006-05-06 18:19:49 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -123,7 +123,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.2.1';
   $REVISION    = sprintf('version %s (c) 1999-2005 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.27 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.28 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -1196,7 +1196,7 @@
   my $p = HTML::Parser::new(@_, api_version => 3);
 
   # Start tags
-  $p->handler(start => 'start', 'self, tagname, attr, text, event, tokens');
+  $p->handler(start => 'start', 'self, tagname, attr, text');
   # Declarations
   $p->handler(declaration =>
               sub {

Received on Thursday, 5 August 2010 14:47:17 UTC