Module for Country/Country Codes Lists

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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,...
    2. 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...
    3. 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...
    4. Country
      How can I view visitors country using php/apache?
    5. how to get the country ?
      from the IP of the request ?
  3. #2

    Default 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

  4. #3

    Default RE: Module for Country/Country Codes Lists

    > 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?
    If not I'll include it my upcoming module perhaps (no not Foo::monkey ;p)
    Dan Muey Guest

  5. #4

    Default Re: Module for Country/Country Codes Lists

    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,
    Randy.


    Randy W. Sims Guest

  6. #5

    Default Re: Module for Country/Country Codes Lists

    On Wed, 4 Feb 2004, Randy W. Sims wrote:
    > 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.
    >
    Thanks, we'll take a look.

    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139