logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

WWW::Shorten::Debli - Perl interface to deb.li

Description

       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

Name

       WWW::Shorten::Debli - Perl interface to deb.li

See Also

       WWW::Shorten, <https://deb.li/>

perl v5.40.0                                       2024-09-20                           WWW::Shorten::Debli(3pm)

Synopsis

         use WWW::Shorten 'Debli';

         $short_url = makeashorterlink($long_url);

         $long_url  = makealongerlink($short_url);

See Also