Sympa::Crash(3Sympa)

πŸ’– Sympa::Crash πŸ’–

okay bestie, welcome to Sympa::Crash β€” that's the Perl module from the sympa 6.2.80 era (like, it lives in section 3 of the manual, 3Sympa, iykyk). She does one thing and she does it iconically: when something goes catastrophically wrong, she shows you the receipts. ✨


πŸŽ€ NAME πŸŽ€

Sympa::Crash β€” show traceback on critical error 🫢


✨ SYNOPSIS ✨

use Sympa::Crash;

# Registering custom hook.
use Sympa::Crash Hook => \&myhook;

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: the second Sympa::Crash gets loaded, any crash from a runtime error gets reported via log, and the traceback gets shown in standard error. no hiding, no sweeping it under the rug, she's giving full transparency. πŸ’…

and if you pass the optional "Hook" parameter? then that gets executed instead. your hook, your rules, your moment. πŸ‘‘

🌸 Function 🌸

  • register_handler ( ) β€” sometimes other modules are messy and overwrite the error handler πŸ™ˆ (rude, honestly). if that's the situation you're in, just run this function and it'll register the handler all over again. problem solved, slay.

⭐ HISTORY ⭐

Sympa::Crash appeared on Sympa 6.2. a legend was born, fr fr. 🌈


lowkey important: this page is Sympa::Crash(3Sympa) from sympa version 6.2.80, dated 2026-10-19. that's the whole flex, and she ate. πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from