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

πŸ“¦
version 3.094 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’€ NAME πŸ’€

WWW::Shorten::_dead β€” the ✨afterlife✨ where dead link-shortening services go to rest, bestie πŸͺ¦πŸ¦‹


πŸ“œ SYNOPSIS πŸ“œ

okay so if you're writing a service module that's, like, no longer a thing, you make it look exactly like this:

# just change your service to look like this:
package WWW::Shorten::SomeDeadService;
use strict;
use warnings;

our $VERSION = '1.001';
$VERSION = eval $VERSION;

# ensure a common error message will be given to the user
require WWW::Shorten::_dead;

1;

no cap, that's literally it πŸ’…


🫢 DESCRIPTION 🫢

okay so picture this: this is just a module that we use for link-shortening services that we used to support but which no longer exist. πŸ’€

that's the whole vibe. it's giving graveyard, but like, a respectful one. πŸŽ€ the services didn't make it, we kept their little module slots warm anyway, and if you require this, the user gets a common error message instead of a confusing void. iconic behaviour honestly. πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Iain Truskett <spoon@cpan.org> β€” the mastermind, the main character, the one who wrote this ✨


🌈 SEE ALSO 🌈

  • WWW::Shorten β€” go here for the services that are, y'know, still alive πŸ“

k bye bestie, this page came to you from perl v5.36.0, dated 2022-11-19, part of the User Contributed Perl Documentation πŸ’– it's giving vintage and we're obsessed βœ¨πŸ¦‹