Subject: [bug#64486] [PATCH v2 06/22] gnu: Add perl-file-chdir.

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

* gnu/packages/perl.scm (perl-file-chdir): New variable.
---
 gnu/packages/perl.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 506b078da4..0f0b66356b 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -12305,6 +12305,25 @@ (define-public perl-shell-command
 
 ;;; END: Core module overrides
 
+(define-public perl-file-chdir
+  (package
+    (name "perl-file-chdir")
+    (version "0.1011")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/D/DA/DAGOLDEN/File-chdir-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "0ybcmw1qw2spwcgyv82i8g53l7wbsy09hjzpvs0xdma8vw9gksri"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/File-chdir")
+    (synopsis "A more sensible way to change directories")
+    (description "This module provides @code{$CWD} and @code{@@CWD} as
+alternatives to @code{chdir()}.")
+    (license (package-license perl))))
+
 (define-public perl-file-find-object
  (package
   (name "perl-file-find-object")
-- 
2.41.0