Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Kester Allen
September 15, 2004, 1:25 pm
rate this thread
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:
my $ydd = Yahoo::DrivingDirections->new (
'LAX', '1 Main St, Portland, OR', 'Denver, CO'
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
- » ANNOUNCE: Language::Zcode v0.8 (Translate Z-code files to Perl)
- — Previous thread in » PERL Modules Announcements