cpan Locale-Codes 3.50

latest releases: 3.78, 3.77, 3.76...
7 years ago
  • NEW CODE(s)

  • (*) Rewrote as OO module
    The core module (Locale::Codes) is now an OO module that can be used
    directly. All of the other modules (Locale::Codes::TYPE) are still
    the older functional interfaces and remain unchanged.

  • Added some constants
    Historically, the constant names used to identify the codesets have
    been named inconsistently. The original constants for codesets are:

     Type      Constants
    
    
     country   LOCALE_CODE_*
     currency  LOCALE_CURR_*
     language  LOCALE_LANG_*
    
    
     script    LOCALE_SCRIPT_*
     langfam   LOCALE_LANGFAM_*
     langvar   LOCALE_LANGVAR_*
     langext   LOCALE_LANGEXT_*
    

    For consistencies sake, I have added some new codes (which are
    otherwise identical to the irregularly named codes):

     country   LOCALE_COUNTRY_*
     currency  LOCALE_CURRENCY_*
     language  LOCALE_LANGUAGE_*
    

    Going forward, all constants will include the full name of the code
    type.

  • Non-OO modules are now generated
    All non-OO modules are now automatically generated. This will make
    it easier to keep them 100% consistent as well as making it easier
    to add new types of code sets.

    All of the documentation for them is also generated except for the
    description of the code sets. That has been moved into the
    Locale::Codes::Types document.

  • Fixed a bug where constants were not exported
    Some of the constants for some of the newer code sets were not
    exported properly. This was fixed when I started generating the
    non-OO modules, but was reported (after I had already fixed it in
    development) as RT 119741 .

Don't miss a new Locale-Codes release

NewReleases is sending notifications on new releases.