WWW::S...::Debli(3pm)

🌸 NAME 🌸

WWW::Shorten::Debli β€” bestie, it's a Perl interface to deb.li πŸ’…


✨ SYNOPSIS ✨

okay so you just pull it in and go:

use WWW::Shorten 'Debli';

$short_url = makeashorterlink($long_url);

$long_url  = makealongerlink($short_url);

πŸ’– DESCRIPTION πŸ’–

It's a Perl interface to the website <https://deb.li>, periodt. And what is deb.li? It's a URL shortening service primarily for Debian contributors 🌈. So like, long link goes in, cute lil link comes out. iykyk πŸŽ€

πŸ¦‹ Functions πŸ¦‹

  • makeashorterlink(URL) β€” the function makeashorterlink will hit up deb.li, hand it your URL, and return the shortened variant. slay ✨
  • makealongerlink β€” the function makealongerlink does the reverse, fr fr. It'll accept as an argument either the full deb.li URL or just the key πŸ‘‘
😭 lowkey important: if anything goes wrong, then either function will return undef. No drama, it just gives you nothing back, so check that return value bestie.

πŸ’œ EXPORT

makeashorterlink, makealongerlink


Copyright (C) 2012 Damyan Ivanov dmn@debian.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.


🌈 SEE ALSO 🌈


🫢 and that's the whole thing bestie, no cap. this page came to you from perl v5.40.1, dated 2026-07-10 β€” the WWW::S...::Debli(3pm) girlies ate and left no crumbs πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from