Devel::...:Builtin(3)
π Devel::Confess::Builtin β like, the Perl doc page, bestie
okay so real quick, before we even start: this is a User Contributed Perl Documentation page for Devel::Confess::Builtin. yes the header up top is all truncated and mysterious looking, but that's just how the terminal renders it, don't panic π«Ά
β¨ NAME β¨
Devel::Confess::Builtin β bestie, it enables built-in stack traces on exception objects. that's the whole vibe. π
πΈ SYNOPSIS πΈ
use Devel::Confess::Builtin;
use Exception::Class 'MyException';
MyException->throw; # includes stack trace
like, that's it. you literally use it, and suddenly your exceptions are showing up with receipts. π
π¦ DESCRIPTION π¦
so here's the tea β β lots of exception modules can give you stack traces, but the way that they just don't by default is honestly criminal. this module rolls up and forces as many of those modules as possible to include stack traces by default. iconic behavior, no notes. π
and the best part? it can be loaded before or after the exception modules and it will still function. it's giving flexibility, it's giving low-maintenance queen. β¨
for supported modules, it will also prevent Devel::Confess from attaching its own stack traces. so no double-stacking, no weird duplicate energy β we keep it clean. π§
π SUPPORTED MODULES π
the girlies that get the glow-up:
Exception::ClassOuchClass::ThrowableException::Base
π CAVEATS π
okay so minor warning, and I need you to hear me on this one: this module relies partly on the internal implementation of the modules it affects. which means future updates to those modules could break this module, or this module could break them. π
so like... it's a little bit of a situationship with internal APIs. it works right now, but nothing is guaranteed forever. ngl, just be aware. π
π the cute sign-off π
this little beauty comes from perl v5.42.0, dated 2017-02-21 β vintage but still slaying, fr fr. go forth and have stack traces by default, my love. ππ¦π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Devel-Confess 0.009004-bp160.1.11 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms