Softpedia
 


LINUX CATEGORIES:



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

    WWW::Dict 0.0.1

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Kang-min Liu | More programs
    Perl Artistic License / FREE
    January 18th, 2007, 21:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    WWW::Dict description

    A base class for WWW::Dict::* modules.

    WWW::Dict is a base class for WWW::Dict::* modules.

    SYNOPSIS

    use WWW::Dict;
    my $dict = WWW::Dict->new('Zdic');
    my $definition = $dict->define( $word );
    print YAML::Dump( $definition )


    This module is the base class for WWW::Dict::* modules, also a loder class for them. It doesn't query to any dictionary website itself, but only dispatch request to a proper subclass.

    INTERFACE

    new( dict_site )

    Contructor, as usual, also a loader. You have to pass a string representing the dict site you want to load. It should be the same as one of the names under WWW::Dict::* namespace. For example, "Zdic" is a proper value.

    define( word )

    Query the dictionary website for the definition of word. Return a hashref with various keys depending on the acutal underlying module. Please see the document of those modules for it's keys.

    (Note: this might be changed to adapt a proper super-set of keys, or return the definition as an object. However, so far it's still unclear how complicated it could be, so I just keep it simple for now.)

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    base class | WWW::Dict module | Perl module | WWW | base | class

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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