X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FStats.pm;h=6a59c6b9895d3145962397c4716a308e7f12e063;hb=a22576c1c12f1e9a657fe4bbe782e346150adf2d;hp=641f47fd254cbcec6d3c2ccfa58141bbb5b09679;hpb=9d4080a34de173459de92addb712853190f66ceb;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Stats.pm b/lib/ZOOM/IRSpy/Stats.pm index 641f47f..6a59c6b 100644 --- a/lib/ZOOM/IRSpy/Stats.pm +++ b/lib/ZOOM/IRSpy/Stats.pm @@ -113,7 +113,7 @@ sub _gather_stats { # Record syntax support by database foreach my $node ($xc->findnodes('e:recordInfo/e:recordSyntax/@name')) { - $this->{recordSyntaxes}->{$node->findvalue(".")}++; + $this->{recordSyntaxes}->{lc($node->findvalue("."))}++; } # Explain support @@ -135,7 +135,7 @@ sub _gather_stats { # Top Domains my $host = $xc->findvalue('e:serverInfo/e:host'); $host =~ s/.*\.//; - $this->{domains}->{$host}++; + $this->{domains}->{lc($host)}++; # Implementation foreach my $node ($xc->findnodes('i:status/i:serverImplementationName/@value')) {