The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::StreetMapLink::Streetdirectory - A WebService::StreetMapLink subclass for streetdirectory.com

SYNOPSIS

    use WebService::StreetMapLink;

    my $map =
        WebService::StreetMapLink->new
            ( country => 'australia',
              address => '606 Station Street',
              city    => 'Box Hill',
              state   => 'Victoria',
              postal_code => '3128',
            );

    my $uri = $map->uri;

DESCRIPTION

This subclass generates links to streetdirectory.com. There are several host names for this service, each for a different country.

COUNTRIES

This subclass handles Australia.

new() PARAMETERS

For Australia, you must provide "address", "state", and either "city" or "postal_code". Some additional parsing is done on the address to remove the "street/ave/etc" portion, and to separate out the street number from the name. If this fails, then an object cannot be created.

AUTHOR

David Rolsky, <autarch@urth.org>

BUGS

Please report any bugs or feature requests to bug-webservice-streetmaplink@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Copyright 2004-2005 David Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.