From c70ea95c7e2e07cccbff9b7cce26e7bb506d1db6 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 18 Jan 2013 21:21:17 +0100 Subject: Factorized split_addr. --- misc/w3c-validator.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc') diff --git a/misc/w3c-validator.pl b/misc/w3c-validator.pl index 76355ac..1947401 100755 --- a/misc/w3c-validator.pl +++ b/misc/w3c-validator.pl @@ -22,7 +22,7 @@ # sudo ./bin/fripost-panel restart # # Every HTML page will now be dumped into /tmp/fpanel/. Once you are done -# browsing the RunModes, +# browsing the RunModes, # sudo chmod -R +r /tmp/fpanel/ # ./misc/w3c-validator.pl /tmp/fpanel/*.html # @@ -45,7 +45,7 @@ foreach my $html (@ARGV) { if (defined $v->errors) { my @errors = @{$v->errors}; foreach (@errors) { - printf STDERR ( "line: %s, col: %s\n\terror: %s\n", + printf STDERR ( "line: %s, col: %s\n\terror: %s\n", $_->line, $_->col, $_->msg ); } @@ -54,7 +54,7 @@ foreach my $html (@ARGV) { elsif (@{$v->warnings}) { my @warnings = @{$v->warnings}; foreach (@warnings) { - printf STDERR ( "line: %s, col: %s\n\twarning: %s\n", + printf STDERR ( "line: %s, col: %s\n\twarning: %s\n", $_->line, $_->col, $_->msg ); } -- cgit v1.2.3