|
Posted by Kester Allen on September 15, 2004, 9:25 am
Please log in for more thread options
This is an RFC for a proposed new module Yahoo::DrivingDirections.
The purpose of this module is to make it easy to get driving
directions for a trip with multiple stops. The module uses
maps.yahoo.com to determine driving directions for a multi-stop trip
(e.g., a drive from SFO airport to 35 Broadway Ave, Oakland, CA to the
center of zip code 90210-0001). Each trip leg can be downloaded to a
local html file, or an array reference to every trip leg can returned.
For example, the following code:
use Yahoo::DrivingDirections;
my $ydd = Yahoo::DrivingDirections->new (
'LAX', '1 Main St, Portland, OR', 'Denver, CO'
);
$ydd->get_maps();
would generate two output html files, trip_leg_1.html and
trip_leg_2.html, which would be the maps.yahoo.com directions from a)
the Los Angeles airport to 1 Main St, Portland, Oregon, and b)
Portland to Denver, Colorado, respectively.
A tarball of the module is available for perusal on my perlmonks
scratchpad at: http://perlmonks.org/?displaytype=displaycode;node_id=358921
|
|
Posted by Kester Allen on September 15, 2004, 5:07 pm
Please log in for more thread options
kester@gmail.com (Kester Allen) wrote in message
> A tarball of the module is available for perusal on my perlmonks
> scratchpad at: http://perlmonks.org/?displaytype=displaycode;node_id=358921
Oop, that's just the code, not a tarball.
|
| Similar Threads | Posted | | New Module: WWW::Yahoo::DrivingDirections | September 23, 2004, 9:40 pm |
| matt parker alias van_lint@yahoo.com | January 28, 2005, 3:48 am |
| new module proposal | March 29, 2008, 2:02 pm |
| proposal for new module -- Math::TriangularNumbers | February 21, 2005, 10:19 pm |
| Module Proposal: Calendar::CelticTree | January 27, 2007, 9:20 am |
| Recall::Template - new module proposal | March 14, 2007, 3:21 pm |
| [RFC] Apache::Session::Memcached - new module proposal | September 14, 2004, 3:54 pm |
| Scary module base namespace proposal: Metaweb | August 16, 2007, 5:51 pm |
| [RFC] Data::Endian (proposal for module to read/write big-endian floats/doubles) | July 3, 2007, 5:26 pm |
| Proposal for PTools::* bundle | March 21, 2007, 5:32 pm |
|