Telephony::CountryDialingCodes 1.02
Sponsored Links
Telephony::CountryDialingCodes 1.02 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1130
Date added:
2006-09-20
Publisher:
Craig Manley
Telephony::CountryDialingCodes 1.02 description
Telephony::CountryDialingCodes is a Perl module that can convert international dialing codes to country codes and vice versa.
SYNOPSIS
# Usage method 1 (using object methods):
use Telephony::CountryDialingCodes;
my $o = new Telephony::CountryDialingCodes();
my $country_code = NL;
print "The dialing access code for country $country_code is " . $o->dialing_code($country_code) . "n";
my $dialing_code = 1;
my @country_codes = $o->country_codes($dialing_code);
print "The country code(s) for dialing access code $dialing_code is/are: " . join(,,@country_codes) . "n";
# Usage method 2 (using class methods):
use Telephony::CountryDialingCodes;
my $country_code = NL;
print "The dialing access code for country $country_code is " . Telephony::CountryDialingCodes->dialing_code($country_code) . "n";
my $dialing_code = 1;
my @country_codes = Telephony::CountryDialingCodes->country_codes($dialing_code);
print "The country code(s) for dialing access code $dialing_code is/are: " . join(,,@country_codes) . "n";
# Extracting an intl dialing code from an intl phone number:
use Telephony::CountryDialingCodes;
my $o = new Telephony::CountryDialingCodes();
my $dialing_code = $o->extract_dialing_code(+521234567890);
# $dialing_code will contain 52.
This class exports a method for determining a countrys international dialing code, and another method for doing the reverse: i.e. determining the country code(s) that belong(s) to a given international dialing code.
You can call these methods as class methods or you can create an object and call these methods as object methods. The difference is that if you call them in object context that the internal lookup tables are freed when the object is destroyed, otherwise if you call the methods in class context, then the internal lookup tables are global and will persist for the lifespan of the current process. Its not really a big deal which approach you choose, so for the sake of style, use the object method approach if you have no clue which is better.
SYNOPSIS
# Usage method 1 (using object methods):
use Telephony::CountryDialingCodes;
my $o = new Telephony::CountryDialingCodes();
my $country_code = NL;
print "The dialing access code for country $country_code is " . $o->dialing_code($country_code) . "n";
my $dialing_code = 1;
my @country_codes = $o->country_codes($dialing_code);
print "The country code(s) for dialing access code $dialing_code is/are: " . join(,,@country_codes) . "n";
# Usage method 2 (using class methods):
use Telephony::CountryDialingCodes;
my $country_code = NL;
print "The dialing access code for country $country_code is " . Telephony::CountryDialingCodes->dialing_code($country_code) . "n";
my $dialing_code = 1;
my @country_codes = Telephony::CountryDialingCodes->country_codes($dialing_code);
print "The country code(s) for dialing access code $dialing_code is/are: " . join(,,@country_codes) . "n";
# Extracting an intl dialing code from an intl phone number:
use Telephony::CountryDialingCodes;
my $o = new Telephony::CountryDialingCodes();
my $dialing_code = $o->extract_dialing_code(+521234567890);
# $dialing_code will contain 52.
This class exports a method for determining a countrys international dialing code, and another method for doing the reverse: i.e. determining the country code(s) that belong(s) to a given international dialing code.
You can call these methods as class methods or you can create an object and call these methods as object methods. The difference is that if you call them in object context that the internal lookup tables are freed when the object is destroyed, otherwise if you call the methods in class context, then the internal lookup tables are global and will persist for the lifespan of the current process. Its not really a big deal which approach you choose, so for the sake of style, use the object method approach if you have no clue which is better.
Telephony::CountryDialingCodes 1.02 Screenshot
Advertisements
Telephony::CountryDialingCodes 1.02 Keywords
CountryDialingCodes
CountryDialingCodes 1.02
International dialing codes
INTERNATIONAL DIALING
Perl module
vice versa
to country
dialing codes
Can Convert
code
dialing
country
codes
methods
object
Telephony::CountryDialingCodes
Bookmark Telephony::CountryDialingCodes 1.02
Telephony::CountryDialingCodes 1.02 Copyright
WareSeeker periodically updates pricing and software information of Telephony::CountryDialingCodes 1.02 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 Telephony::CountryDialingCodes 1.02 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
bt international dialing codes
international dialing country codes
country dialing codes
international dialing codes uk
international dialing codes for cell phones
international dialing codes from uk
zip codes
international dialing instructions
International Dialing Codes - Cities
area codes
codes for myspace
myspace codes
cheat codes
list of country calling codes
coupon codes
country codes
music video codes
international dialing code
Related Software
Class::Contract - Design-by-Contract OO in Perl. Free Download
Convert::Translit, transliterate, build_substitutes is a Perl module for string conversion among numerous character sets. Free Download
IP::Country is a tool for fast lookup of country codes from IP addresses. Free Download
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. Free Download
SWIFT::Factory::BasicHeader is a Perl module that provides a Basic Header Block (Block 1) for a SWIFT message. Free Download
Python rope is a Python IDE. Free Download
File::Drawing release, revise and retrieve contents to/from a drawing program module. Free Download
OpenOffice::OODoc::Image is a Perl module for image manipulation methods. Free Download
Latest Software
Popular Software
Favourite Software