https://blog.pjain.me/2009/11/24/use-your-yourls-own-url-shortening-service-with-perl/
Use Your (Yourls) Own URL Shortening Service with Perl