☼ 林永忠 ☼ > WWW-FindConcept-0.03 > WWW::FindConcept

Download:
WWW-FindConcept-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.03   Source  

NAME ^

WWW::FindConcept - Finding terms of related concepts

SYNOPSIS ^

  use WWW::FindConcept;

  $WWW::FindConcept::cachepath = '~/.find-concept'; # The default value

  @concepts = find_concept('Perl');

  delete_concept('Perl');

  @concepts = update_concept('Perl');

  dump_cache();

  remove_cache();

DESCRIPTION ^

This module is aimed at retrieving terms of related concepts frequently being fed into search engines. You can use it to expand the vocabulary when doing search on web or other conceivable things.

EXPORT

find_concept() is auto-exported and it returns a list of the related terms. The list is also saved in cache $WWW::FindConcept::cachepath.

delete_concept() deletes a concept in cache.

update_concept() sends out query and updates the cache each time.

dump_cache() outputs the queries in cache.

remove_cache() unlinks the cache file.

SEE ALSO ^

find-concept.pl

COPYRIGHT ^

xern <xern@cpan.org>

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.