Tk::Pod::Search_db

Tk::Pod::Search_db is a dirty OO wrapper for perlindex's search functionality.
Download

Tk::Pod::Search_db Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Achim Bohnet
  • Publisher web site:
  • http://search.cpan.org/~srezic/Tk-Pod-0.9936/Pod/Search_db.pm

Tk::Pod::Search_db Tags


Tk::Pod::Search_db Description

Tk::Pod::Search_db is a dirty OO wrapper for perlindex's search functionality. Tk::Pod::Search_db is a dirty OO wrapper for perlindex's search functionality.SYNOPSIS ** THIS IS ALPHA SOFTWARE everything may and should change ** ** stuff here is more a scratch pad than docomentation! ** use Tk::Pod::Search_db; ... $idx = Tk::Pod::Search_db->new?(INDEXDIR)?; ... @hits = $idx->searchWords(WORD1,...); # @hits is a list of # relpath1,score1,... where # score is increasing $prefix = $idx->prefix(); @word = Tk::Pod::Search_db::normalize(STRING1,...);METHODS$idx = Tk::Pod::Search_db->new(INDEXDIR)Interface may change to support options like -maxhits$idx->seachWords(WORD1?,...?)search for WORD(s). Return a list of relpath1, score1, relpath2, score2, ...or empty list if no match is found.$pathprefix = $idx->pathprefix()The return path prefix and $relpath give together the full path name of the Pod documentation. $fullpath = $patchprefix . '/' . $relpathNote: Should make it easy to use Tk::Pod::Search with perlindex but index specific prefix handling is a mess up to know. Requirements: · Perl


Tk::Pod::Search_db Related Software