NAME
WWW::Shorten::IsGd - shorten (or lengthen) URLs with http://is.gd
VERSION
version 0.003
SYNOPSIS
use WWW::Shorten::IsGd;
use WWW::Shorten 'IsGd';
my $url = q{http://averylong.link/wow?thats=really&really=long};
my $short_url = makeashorterlink($url);
my $long_url = makealongerlink($short_url); # eq $url
DESCRIPTION
A Perl interface to the web site . is.gd simply maintains
a database of long URLs, each of which has a unique identifier.
FUNCTIONS
makeashorterlink
The function "makeashorterlink" will call the is.gd web site passing it
your long URL and will return the shortened link.
makealongerlink
The function "makealongerlink" does the reverse. "makealongerlink" will
accept as an argument either the full TinyURL URL or just the TinyURL
identifier.
If anything goes wrong, then either function will return "undef".
AVAILABILITY
The project homepage is .
The latest version of this module is available from the Comprehensive
Perl Archive Network (CPAN). Visit to find a
CPAN site near you, or see
.
The development version lives at
and may be cloned from
. Instead of sending
patches, please fork this project using the standard git and github
infrastructure.
SOURCE
The development version is on github at
and may be cloned from
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests through the web interface at
.
AUTHOR
Mike Doherty
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Mike Doherty.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.