/[suikacvs]/webroot/www/ja1200/stat/xmlerrnum.pl
Suika

Contents of /webroot/www/ja1200/stat/xmlerrnum.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jun 3 13:52:14 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
New

1 #!/usr/bin/perl
2 use strict;
3
4 my $result = do "xml4.txt"; # generated by xmlwf.pl
5
6 my $Error;
7
8 for my $file_name (keys %{$result}) {
9 next unless ref $result->{$file_name};
10 my $error = {};
11 for (@{$result->{$file_name}}) {
12 next unless defined $_->[2];
13 $error->{$_->[2]}++;
14 }
15 for (keys %$error) {
16 $Error->{$_}++;
17 }
18 }
19
20 use Data::Dumper;
21 $Data::Dumper::Sortkeys = 1;
22 print Dumper $Error;

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24