Search::Mousse::Writer::Related - Writer for related items in Search::Mousse
my $related = Search::Mousse::Writer::Related->new( mousse => $mousse, size => 10, ); $related->write;
Search::Mousse::Writer::Related takes a Search::Mousse database and analyses it to find related items. Once you have analysed it, the Search::Mousse methods fetch_similar and fetch_similar_keys will then be available.
The constructor takes a few arguments: a new Search::Mousse object and the maximum number of related items you wish to retrieve:
my $related = Search::Mousse::Writer::Related->new( mousse => $mousse, size => 10, );
To analyse the database and write out the results, you must call the write() method:
$related->write;
Search::Mousse, Search::Mousse::Writer
Leon Brocard, <acme@astray.com>
<acme@astray.com>
Copyright (C) 2005, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
To install Search::Mousse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Mousse
CPAN shell
perl -MCPAN -e shell install Search::Mousse
For more information on module installation, please visit the detailed CPAN module installation guide.