Subject: [PATCH v2 04/22] gnu: Add perl-feature-compat-try.

From: Bruno Victal <[email-masked]>
Date: Tue, 24 Oct 2023 16:15:24 +0100

* gnu/packages/perl.scm (perl-feature-compat-try): New variable.
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9039b2b052..703fe382af 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4800,6 +4800,27 @@ (define-public perl-feature-compat-class
 way.")
     (license (package-license perl))))
 
+(define-public perl-feature-compat-try
+  (package
+    (name "perl-feature-compat-try")
+    (version "0.05")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/P/PE/PEVANS/Feature-Compat-Try-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0z3df58bamp1zx996mwvxy75h67p80wgl4sz3h9xnc5c7hbwg8ar"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build))
+    (propagated-inputs (list perl-syntax-keyword-try))
+    (home-page "https://metacpan.org/release/Feature-Compat-Try")
+    (synopsis "@code{try/catch} syntax in Perl")
+    (description "This module provides syntactical support for
+@code{try/catch} control flows.")
+    (license (package-license perl))))
+
 (define-public perl-file-changenotify
   (package
     (name "perl-file-changenotify")
-- 
2.41.0