Ask a Question related to PERL Beginners, Design and Development.
-
Shlomi Fish #1
Module for Country/Country Codes Lists
Hi!
My name is Shlomi Fish and I am a co-developer of the WWW::Form module:
[url]http://search.cpan.org/~bschmau/WWW-Form-1.13/[/url]
Benjamin Schmaus (WWW::Form's main developer) and I decided it would be a
good idea for the module or an extension of it to provide common form
controls like a country list or a U.S. states list.
To do so we need a module that returns a country list. Ideally what we
would like is for it to return a refernece to a hash of country codes (US,
IL, UK, RU, etc.) that each map to a contry name (United States, Israel,
United Kingdom, Russia). Or alternatively, a similar interface with
similar capabilites.
We enumberated our needs here:
[url]http://benschmaus.com/cgi-bin/twiki/view/Main/WwwFormCountryList[/url]
So, is there a good module for doing that on CPAN that is also actively
maintained and updated?
Regards,
Shlomi Fish
----------------------------------------------------------------------
Shlomi Fish [email]shlomif@vipe.technion.ac.il[/email]
Home Page: [url]http://t2.technion.ac.il/~shlomif/[/url]
You are banished! You are banished! You are banished!
Hey? I'm just kidding!
Shlomi Fish Guest
-
Country table and International Dialing Codes
Hi, Anyone have a table of Countries, with their respective international dialing codes? Or, a link to such a table would be great. Thanks,... -
Get country from IP
Dear All, I need to do the following with CF: When a user visits my website, I need to get his/her IP address and thus know the country he/she... -
Country of user
Hi, Is that possible to understand which country is the user from his or her GSM operator in smartphones with .NET Compact Framework? Any help... -
Country
How can I view visitors country using php/apache? -
how to get the country ?
from the IP of the request ? -
Michael C. Davis #2
Re: Module for Country/Country Codes Lists
Look at Net::Domain::TLD on CPAN
It has a fairly comprehensive list of country codes as well as top-level
domain names.
I noticed that it did not include entries that would validate '.co.uk' or
'.co.jp', which echoes your concern about how actively this module is
maintained.
I would imagine that somewhere is a web-published list of cc's and you
could code a script to check it daily for changes.
At 06:36 PM 2/4/04 +0200, Shlomi Fish wrote:>
>Hi!
>
>My name is Shlomi Fish and I am a co-developer of the WWW::Form module:
>
>[url]http://search.cpan.org/~bschmau/WWW-Form-1.13/[/url]
>
>Benjamin Schmaus (WWW::Form's main developer) and I decided it would be a
>good idea for the module or an extension of it to provide common form
>controls like a country list or a U.S. states list.
>
>To do so we need a module that returns a country list. Ideally what we
>would like is for it to return a refernece to a hash of country codes (US,
>IL, UK, RU, etc.) that each map to a contry name (United States, Israel,
>United Kingdom, Russia). Or alternatively, a similar interface with
>similar capabilites.
>
>We enumberated our needs here:
>
>[url]http://benschmaus.com/cgi-bin/twiki/view/Main/WwwFormCountryList[/url]
>
>So, is there a good module for doing that on CPAN that is also actively
>maintained and updated?
>
>Regards,
>
> Shlomi Fish
>
>
>----------------------------------------------------------------------
>Shlomi Fish [email]shlomif@vipe.technion.ac.il[/email]
>Home Page: [url]http://t2.technion.ac.il/~shlomif/[/url]
>
>You are banished! You are banished! You are banished!
>
>Hey? I'm just kidding!
>
>--
>To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
>For additional commands, e-mail: [email]beginners-help@perl.org[/email]
><http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>
>Michael C. Davis Guest
-
Dan Muey #3
RE: Module for Country/Country Codes Lists
> We enumberated our needs here:
> [url]http://benschmaus.com/cgi-bin/twiki/view/Main/WwwFormCountryList[/url]If not I'll include it my upcoming module perhaps (no not Foo::monkey ;p)> So, is there a good module for doing that on CPAN that is also actively maintained and updated?
Dan Muey Guest
-
Randy W. Sims #4
Re: Module for Country/Country Codes Lists
On 2/4/2004 11:36 AM, Shlomi Fish wrote:
You should be able to build on Locale::Country & Locale::SubCountry.> Hi!
>
> My name is Shlomi Fish and I am a co-developer of the WWW::Form module:
>
> [url]http://search.cpan.org/~bschmau/WWW-Form-1.13/[/url]
>
> Benjamin Schmaus (WWW::Form's main developer) and I decided it would be a
> good idea for the module or an extension of it to provide common form
> controls like a country list or a U.S. states list.
>
> To do so we need a module that returns a country list. Ideally what we
> would like is for it to return a refernece to a hash of country codes (US,
> IL, UK, RU, etc.) that each map to a contry name (United States, Israel,
> United Kingdom, Russia). Or alternatively, a similar interface with
> similar capabilites.
>
> We enumberated our needs here:
>
> [url]http://benschmaus.com/cgi-bin/twiki/view/Main/WwwFormCountryList[/url]
>
> So, is there a good module for doing that on CPAN that is also actively
> maintained and updated?
Regards,
Randy.
Randy W. Sims Guest
-
Shlomi Fish #5
Re: Module for Country/Country Codes Lists
On Wed, 4 Feb 2004, Randy W. Sims wrote:
Thanks, we'll take a look.> On 2/4/2004 11:36 AM, Shlomi Fish wrote:
>>> > Hi!
> >
> > My name is Shlomi Fish and I am a co-developer of the WWW::Form module:
> >
> > [url]http://search.cpan.org/~bschmau/WWW-Form-1.13/[/url]
> >
> > Benjamin Schmaus (WWW::Form's main developer) and I decided it would be a
> > good idea for the module or an extension of it to provide common form
> > controls like a country list or a U.S. states list.
> >
> > To do so we need a module that returns a country list. Ideally what we
> > would like is for it to return a refernece to a hash of country codes (US,
> > IL, UK, RU, etc.) that each map to a contry name (United States, Israel,
> > United Kingdom, Russia). Or alternatively, a similar interface with
> > similar capabilites.
> >
> > We enumberated our needs here:
> >
> > [url]http://benschmaus.com/cgi-bin/twiki/view/Main/WwwFormCountryList[/url]
> >
> > So, is there a good module for doing that on CPAN that is also actively
> > maintained and updated?
> You should be able to build on Locale::Country & Locale::SubCountry.
>
Regards,
Shlomi Fish
> Regards,
> Randy.
>
>
----------------------------------------------------------------------
Shlomi Fish [email]shlomif@vipe.technion.ac.il[/email]
Home Page: [url]http://t2.technion.ac.il/~shlomif/[/url]
You are banished! You are banished! You are banished!
Hey? I'm just kidding!
Shlomi Fish Guest



Reply With Quote

