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

WWW::Shorten::ISSM - Perl interface to issm.tk

SYNOPSIS

  use WWW::Shorten::ISSM;
  use WWW::Shorten 'ISSM';

  $short_url = makeashorterlink($long_url);

  $long_url  = makealongerlink($short_url);

DESCRIPTION

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

Functions

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

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

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

EXPORT

makeashorterlink, makealongerlink

AUTHOR

Alexandria Marie Wolcott <alyx@cpan.org>

Aaron Blakley <aaron@ephasic.org>

SEE ALSO

WWW::Shorten, perl, http://ISSM.tk/