Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    MooseX::Types::Locale::Language 0.06

    Download button

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

    License / Price:

    Last Updated:

    Category:
    MORIYA Masaki | More programs
    Perl Artistic License / FREE
    January 27th, 2011, 06:26 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    MooseX::Types::Locale::Language description

    Locale::Language related constraints and coercions for Moose

    MooseX::Types::Locale::Language is a Perl module that packages several Moose::Util::TypeConstraints with coercions, designed to work with the values of Locale::Language.

    SYNOPSIS

     {
     package Foo;

     use Moose;
     use MooseX::Types::Locale::Language qw(
     LanguageCode
     LanguageName
     );

     has 'code'
     => ( isa => LanguageCode, is => 'rw', coerce => 1 );
     has 'name'
     => ( isa => LanguageName, is => 'rw', coerce => 1 );

     __PACKAGE__->meta->make_immutable;
     }

     my $foo = Foo->new(
     code => 'JA',
     name => 'JAPANESE',
     );
     print $foo->code; # 'ja'
     print $foo->name; # 'Japanese'



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Locale::Language constraints | Locale::Language coercions | Perl module | Moose | Locale::Language | constraints

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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