>>>>> "Jayesh" == Jayesh Thakrar <j_thak...@yahoo.com> writes:

Jayesh> There's a webservice that you can invoke. See -

Jayesh> 
http://www.xmethods.net/ve2/ViewListing.po?key=uuid:6F25C11C-7087-73ED-20B8-71AF6DC69E42

Jayesh> And you can use SOAP:Lite to query the web service with minimal effort.

Ugh.  If "SOAP" is part of your answer, you asked the wrong question.

See Geo::GeoNames in the CPAN:

    use Geo::GeoNames;
    my $result = Geo::GeoNames->new->search(q => 'Portland, Oregon',
       maxRows => 1,
       style => 'FULL');
    print $result->[0]{timezone}{content}, "\n";

    ==>

    America/Los_Angeles

As I would expect.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

-- 
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/


Reply via email to