WWW::Shorten::Debli(3pm)

WWW::Shorten::Debli3pm

Perl interface to deb.li

Usage

  use WWW::Shorten 'Debli';
  $short_url = makeashorterlink($long_url);
  $long_url  = makealongerlink($short_url);

Overview

A Perl interface to the web site <https://deb.li>. Deb.li provides a URL shortening service primarily for Debian contributors.

Functions

makeashorterlink(URL)

The function "makeashorterlink" will connect to deb.li passing it the URL and will return the shortened variant.

makealongerlink

The function "makealongerlink" does the reverse. It will accept as an argument either the full deb.li URL or just the key.

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

Export

makeashorterlink, makealongerlink

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From kgb-client 1.61-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.