Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/WWW/Shorten
t
xt
.gitignore
.shipit
Changes
MANIFEST
MANIFEST.SKIP
Makefile.PL
README
README.pod

README.pod

NAME

WWW::Shorten::Google - Perl interface to goo.gl

SYNOPSIS

  use WWW::Shorten::Google;
  use WWW::Shorten 'Google';

  $short_url = makeashorterlink($long_url);
  $long_url  = makealongerlink($short_url);

DESCRIPTION

WWW::Shorten::Google is Perl interface to the web api goo.gl.

Functions

makeashorterlink

The function makeashorterlink will call the Google URL Shortener web site passing it your long URL and will return the shorter Google URL Shortener version.

makealongerlink

The function makealongerlink does the reverse. makealongerlink will accept as an argument either the full Google URL Shortener URL or just the Google URL Shortener identifier.

If anything goes wrong, then either function will return undef.

AUTHOR

Kazuhiro Osawa <yappo <at> shibuya <döt> pl>

sunnavy

SEE ALSO

WWW::Shorten, http://goo.gl/

LICENSE

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

Something went wrong with that request. Please try again.