Acme-Wabby
view release on metacpan or search on metacpan
$wabby->save;
$wabby->load;
These methods take no arguments, they simply save or load the state to or from
the file names which were defined when the object was created. Loading a
saved state is much faster than re-parsing a large body of text.
=head2 Getting statistics
Using the B<stat()> method will provide you with some simple statistics about
the current state of an object. When used in a scalar context, the B<stat()>
method will return a string containing a description of what the object knows.
When used in a list context, it will return a list of two numbers. The first
entry in the list is the number of words that the object knows. The second
entry in the list is the average number of connections between words.
my ($wordcount, $average) = $wabby->stats;
print "count=$wordcount, average=$average\n";
print scalar($wabby->stats), "\n";
=head1 BUGS
( run in 0.771 second using v1.01-cache-2.11-cpan-49f99fa48dc )