The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Index::Stats - utility module for providing statistics on the inverted index generated by HTML::Index::Create.

SYNOPSIS

my $store = HTML::Index::Store::BerkeleyDB->new( DB => $db );
my $stats = HTML::Index::Stats->new( STORE => $store );
print $stats->stats();
my @words = $stats->words();
my @files = $stats->files();
my $nwords = $stats->nwords();
my $nfiles = $stats->nfiles();

DESCRIPTION

This is a simple utility module to print statistics of a HTML::Index::Store object, and to access the list of / number of words / files it contains. The stats reports stuff like the number of bits / word used in storage, both compressed and uncompressed, etc.

SEE ALSO

HTML::Index

AUTHOR

Ave Wrigley <Ave.Wrigley@itn.co.uk>

COPYRIGHT

Copyright (c) 2001 Ave Wrigley. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.