Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    Lingua::EN::Numbers::Easy 2009110701

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Abigail | More programs
    Other/Proprietary Li... / FREE
    September 30th, 2009, 13:24 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Lingua::EN::Numbers::Easy description

    Hash access to Lingua::EN::Numbers objects

    Lingua::EN::Numbers is a Perl module that translates numbers to English words. Unfortunally, it has an object oriented interface, which makes it hard to interpolate them in strings. Lingua::EN::Numbers::Easy translates numbers to words using a tied hash, which can be interpolated.

    By default, Lingua::EN::Numbers::Easy exports a hash %N to the importing package. This can be changed by giving use Lingua::EN::Numbers::Easy an argument - this argument is the name of the hash that will be used instead:

     use Lingua::EN::Numbers::Easy qw /%nums/;

    would use %nums as the tied hash.

    See also the Lingua::EN::Numbers man page.

    Lingua::EN::Numbers::Easy caches results - numbers will only be translated once.

    Any other operation on the exported hash than fetches will throw an exception.

    SYNOPSIS

     use Lingua::EN::Numbers::Easy;

     print "$N{1} fish, $N{2} fish, blue fish, red fish";
     # one fish, two fish, blue fish, red fish.



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    translate numbers | English words | Perl module | numbers | translator | words



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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