sample stuffs working pretty good now
authorShawn Boyette <sboyette@esilibrary.com>
Tue, 5 May 2009 16:43:45 +0000 (16:43 +0000)
committerShawn Boyette <sboyette@esilibrary.com>
Tue, 5 May 2009 16:43:45 +0000 (16:43 +0000)
extract_holdings

index 32fd2e4..29bd56d 100755 (executable)
@@ -43,8 +43,8 @@ sub dump_sample_detail {
         for my $subkey (sort keys %{$tags->{$tag}}) {
             my $sub = $tags->{$tag}{$subkey};
             print "  Subfield: $subkey\n";
-            print "  Sample:   '", $sub->{value}, "'\n\n";
-            print "  Count:    ", $sub->{count}, " in ", $sub->{rcnt}, " tags\n";
+            print "  Sample:   '", $sub->{value}, "'\n";
+            print "  Count:    ", $sub->{count}, " in ", $sub->{tcnt}, " tags\n\n";
             #print "(", int($sub->{count} / $sub->{rcnt}), "%)\n";
         }
     }