Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.247.443 Times

Locale::Object::Language 0.75

  Date Added: June 04, 2010  |  Visits: 1.094

Locale::Object::Language

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



Locale::Object::Language Perl module contains language information objects. Locale::Object::Language allows you to create objects containing information about languages such as their ISO codes, the countries theyre used in and so on. SYNOPSIS use Locale::Object::Language; my $eng = Locale::Object::Language->new( code_alpha3 => eng ); my $name = $eng->name; my $code_alpha2 = $eng->code_alpha2; my $code_alpha3 = $eng->code_alpha3; my @countries = $eng->countries; my $gb = Locale::Object::Country->new( code_alpha2 => gb ); print $eng->official($gb); METHODS new() my $eng = Locale::Object::Language->new( code_alpha3 => eng ); The new method creates an object. It takes a single-item hash as an argument - valid options to pass are ISO 3166 values - code_alpha2, code_alpha3 and name (see Locale::Object::DB::Schemata for details on these). The objects created are singletons; if you try and create a currency object when one matching your specification already exists, new() will return the original one. name(), code_alpha2(), code_alpha3() my $name = $country->name; These methods retrieve the values of the attributes in the object whose name they share. countries() my @countries = $eng->countries; Returns an array (in array context, otherwise a reference) of Locale::Object::Country objects with their ISO 3166 alpha2 codes as keys (see Locale::Object::DB::Schemata for more details on those) for all countries using this currency in array context, or a reference in scalar context. The objects have their own attribute methods, so you can do things like this for example: foreach my $place (@countries) { print $place->name, "n"; } Which will list you all the countries that use in that currency. See the documentation for Locale::Object::Country for a listing of country attributes. Note that you can chain methods as well. foreach my $place (@countries) { print $place->continent->name, "n"; } official() my $gb = Locale::Object::Country->new( code_alpha2 => gb ); print $eng->official($gb); # prints true Give this method a Locale::Object::Country object, and it will return a true or false value for whether the country the object represents has the language represented by your Locale::Object::Language object as an official language. See database.pod for a note about languages in the database..

Requirements: No special requirements
Platforms: Linux
Keyword: Code Countries Gb Iso Language Language Information Language Perl Libraries Localeobjectlanguage Name New Perl Module Programming
Users rating: 0/10

License: Freeware Size: 47.1 KB
USER REVIEWS
More Reviews or Write Review


LOCALE::OBJECT::LANGUAGE RELATED
Libraries  -  Inline-API 0.44
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. SYNOPSIS #!/usr/bin/perl use Inline Foo; say_it(foo); # Use Foo to print "Hello, Foo" __Foo__ foo-sub say_it { foo-my $foo =...
91.14 KB  
Libraries  -  Text::NSP::Measures::2D::MI::pmi 1.03
Text::NSP::Measures::2D::MI::pmi is a Perl module that implements Pointwise Mutual Information. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::pmi; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $pmi_value =...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::MI::tmi 1.03
Text::NSP::Measures::2D::MI::tmi is a Perl module that implements True Mutual Information. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::tmi; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $tmi_value =...
952.32 KB  
Libraries  -  Language::Zcode::Parser 0.8
Language::Zcode::Parser is a Perl module that reads and parses a Z-code file into a big Perl hash. SYNOPSIS # Create a Pure Perl Parser my $pParser = new Language::Zcode::Parser "Perl"; # If they didnt put ".z5" at the end, find it anyway...
296.96 KB  
Libraries  -  SQL::Routine::Language 0.70.3
SQL::Routine::Language is a Perl module for what language or grammar SQL::Routine speaks. SQL::Routine contains SQL schemas and queries, represented as a tree of atomic tokens; it is structurally like an abstract syntax tree or an XML DOM, but...
174.08 KB  
Libraries  -  Language::Zcode::Runtime::State 0.8
Language::Zcode::Runtime::State is a Perl module to handle saving, restoring, etc. the game state. restoring Getter/setter: currently in the process of restoring or not? start_machine Start executing the Z-machine. In the normal case...
296.96 KB  
Libraries  -  Apache::AxKit::Language::XSP 1.6.2
Apache::AxKit::Language::XSP is a Perl module with eXtensible Server Pages. SYNOPSIS Time::Object < title...
307.2 KB  
Libraries  -  Language::Basic::Variable 1.44
Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables. SYNOPSIS See Language::Basic for the overview of how the Language::Basic module works. This pod page is more technical. There are two sorts of...
52.22 KB  
Libraries  -  Apache::AxKit::Language::SAXMachines 1.6.2
Apache::AxKit::Language::SAXMachines is a Perl module that can transform Content With SAX Filters. SYNOPSIS # add the style processor mapping AxAddStyleMap application/x-saxmachines Apache::AxKit::Language::SAXMachines # add the processor...
307.2 KB  
Libraries  -  PerlPoint::Generator::LANGUAGE::Formatter 0.45
PerlPoint::Generator::LANGUAGE::Formatter is a Perl module that generates Formatter formatted LANGUAGE files. METHODS new() Parameters: class The class name. Returns: the new object..
419.84 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB