Dave Cross > WWW-Shorten-Qwer-1.00 > WWW::Shorten::Qwer

Download:
WWW-Shorten-Qwer-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.00   Source  

NAME ^

WWW::Shorten::Qwer - Perl interface to qwer.org

SYNOPSIS ^

  use WWW::Shorten::Qwer;
  use WWW::Shorten 'Qwer';

  $short_url = makeashorterlink($long_url, $short_code);

  $long_url  = makealongerlink($short_url);

DESCRIPTION ^

A Perl interface to the web site qwer.org. Qwer simply maintains a database of long URLs, each of which has a unique identifier.

Functions ^

makeashorterlink

The function makeashorterlink will call the Qwer web site passing it your long URL and a mandatory short code. It will return the shorter Qwer version of the URL.

makealongerlink

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

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

EXPORT

makeashorterlink, makealongerlink

SUPPORT, LICENCE, THANKS and SUCH ^

See the main WWW::Shorten docs.

AUTHOR ^

Dave Cross <dave@mag-sol.com>

SEE ALSO ^

WWW::Shorten, perl, http://qwer.org/

syntax highlighting: