Subject: [bug#67963] [PATCH v2 04/37] gnu: Add perl-devel-confess.

From: Felix Lechner <[email-masked]>
Date: Tue, 16 Jan 2024 14:12:42 -0800

* gnu/packages/perl.scm (perl-devel-confess): New variable.

Change-Id: I8973759cb75e4c7d22096238a0a06d583d082813
---
 gnu/packages/perl.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 033c9900ce..c59f53139b 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3795,6 +3795,25 @@ (define-public perl-devel-checkcompiler
 you can tell it to compile a C source file with optional linker flags.")
     (license (package-license perl))))
 
+(define-public perl-devel-confess
+  (package
+    (name "perl-devel-confess")
+    (version "0.009004")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/Devel-Confess-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1pbl38lkvmz97ddy26sg7ynsrspmf4phd0pk2ac95xjw6kdh3im8"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Devel-Confess")
+    (synopsis "Include stack traces on all warnings and errors")
+    (description "This module is meant as a debugging aid.  It can be used to make a
+script complain loudly with stack backtraces when warning or dying.  Unlike modules
+such as Carp::Always, stack traces are also included when exceptions are thrown.")
+    (license license:perl-license)))
+
 (define-public perl-devel-cycle
   (package
     (name "perl-devel-cycle")
-- 
2.41.0