Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Tk::Pod::Search_db 0.9936

    Download button

    No screenshots available
    Downloads: 289  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Achim Bohnet | More programs
    Perl Artistic License / FREE
    November 4th, 2007, 02:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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 . '/' . $relpath

    Note: Should make it easy to use Tk::Pod::Search with perlindex but index specific prefix handling is a mess up to know.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    OO wrapper | search functionality | Perl module | object-oriented | wrapper | search

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM