Locale::Object::Language 0.75
Sponsored Links
Locale::Object::Language 0.75 Ranking & Summary
File size:
0.046 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
864
Date added:
2007-06-12
Publisher:
Earle Martin
Locale::Object::Language 0.75 description
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.
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.
Locale::Object::Language 0.75 Screenshot
Advertisements
Locale::Object::Language 0.75 Keywords
Language 0.75
Language Perl
ISO
Perl module
language information
code
countries
name
objects
alpha2
new
Locale::Object::Language
LocaleObjectLanguage
Locale::Object::Language 0.75
Libraries
Programming
Bookmark Locale::Object::Language 0.75
Locale::Object::Language 0.75 Copyright
WareSeeker periodically updates pricing and software information of Locale::Object::Language 0.75 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Locale::Object::Language 0.75 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
countries flags
objects that reflect light
list of countries
myspace falling objects
countries of asia
objects in motion
name definitions
countries of the world
code pink
objects of my affection lyrics
objects for the sims 2
countries world
hidden objects
european countries
baby names
zip codes
how many countries are in africa
objects in the rear view mirror may appear closer than they are
Related Software
The Complex Language project is an object oriented programming language intended for scripting or rapid apps prototyping. Free Download
Locale::Object::Currency::Converter is a Perl module that can convert between currencies. Free Download
Apache::Language is a Perl transparent language support for Apache modules and mod_perl scripts. Free Download
XML::SimpleObject is a Perl extension allowing a simple object representation of a parsed XML::Parser tree. Free Download
Object::Declare is a Perl module for declarative object constructor. Free Download
Object::Trampoline is a Perl module for delay object construction. Free Download
Object::Relation::DataType is a Perl module with complex data types for TKP. Free Download
Flash::FLAP::Object is a Perl module translated from PHP Remoting v. 0.5b from the -PHP project. Free Download
Latest Software
Popular Software
Favourite Software