Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk::pod::search_db(3pm) [debian man page]

Pod::Search_db(3pm)					User Contributed Perl Documentation				       Pod::Search_db(3pm)

NAME
Tk::Pod::Search_db - 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,...); DESCRIPTION
Module to search Pod documentation. Before you can use the module one should create the indices with "perlindex -index". MISSING
Enable options like -maxhits (currently = 15). Solve PREFIX dependency. Interface for @stop and @unknown also as methods return lists for last searchWords call? Lots more ... 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 . '/' . $relpath Note: Should make it easy to use Tk::Pod::Search with perlindex but index specific prefix handling is a mess up to know. SEE ALSO
tkpod, perlindex, perlpod, Tk::Pod::Search AUTHORS
Achim Bohnet <ach@mpe.mpg.de> Most of the code here is borrowed from perlindex written by Ulrich Pfeifer <Ulrich.Pfeifer@de.uu.net>. Current maintainer is Slaven ReziX <slaven@rezic.de>. Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-05 Pod::Search_db(3pm)

Check Out this Related Man Page

Pod(3pm)						User Contributed Perl Documentation						  Pod(3pm)

NAME
Tk::Pod - Pod browser toplevel widget SYNOPSIS
use Tk::Pod Tk::Pod->Dir(@dirs) # add dirs to search path for Pod $pod = $parent->Pod( -file = > $name, # search and display Pod for name -tree = > $bool # display pod file tree ); DESCRIPTION
Simple Pod browser with hypertext capabilities in a "Toplevel" widget OPTIONS
-tree Set tree view by default on or off. Default is false. -exitbutton Add to the menu an exit entry. This is only useful for standalone pod readers. Default is false. This option can only be set on construction time. Other options are propagated to the embedded Tk::Pod::Text widget. BUGS
If you set "-file" while creating the Pod widget, $parent->Pod(-tree => 1, -file => $pod); then the title will not be displayed correctly. This is because the internal setting of "-title" may override the title setting caused by "-file". So it is better to configure "-file" separately: $pod = $parent->Pod(-tree => 1); $pod->configure(-file => $pod); SEE ALSO
Tk::Pod_usage, Tk::Pod::Text, tkpod, perlpod, Gtk2::Ex::PodViewer, Prima::PodView. AUTHOR
Nick Ing-Simmons <nick@ni-s.u-net.com> Current maintainer is Slaven Rezic <slaven@rezic.de>. Copyright (c) 1997-1998 Nick Ing-Simmons. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-11 Pod(3pm)
Man Page