]> Raphaël G. Git Repositories - acme/commitdiff
Fix File::Spec unexported modules
authorRaphaël Gertz <git@rapsys.eu>
Tue, 24 Nov 2026 22:38:09 +0000 (23:38 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 25 Nov 2026 10:05:36 +0000 (11:05 +0100)
Acme.pm
acme

diff --git a/Acme.pm b/Acme.pm
index c87dda9a227e3f5be40240592ca7fa92645e485a..efa2fc69f224a12ab122b5b1af6a71190447f22e 100644 (file)
--- a/Acme.pm
+++ b/Acme.pm
@@ -40,7 +40,7 @@ use Email::Valid;
 use File::Copy qw(copy);
 use File::Path qw(make_path);
 use File::Slurp qw(read_file write_file);
-use File::Spec qw(splitpath);
+use File::Spec::Functions qw(splitpath curdir);
 use File::stat qw(stat);
 use File::Temp; # qw( :seekable );
 use IPC::System::Simple qw(capturex);
diff --git a/acme b/acme
index 6b5a736206587d4504b2fb8c758c0deacabe9281..5728d6a42a9d099491ee0a29b48bcbc65ea1281e 100755 (executable)
--- a/acme
+++ b/acme
@@ -36,7 +36,7 @@ use Carp qw(carp confess);
 use File::Copy qw(copy);
 use File::stat qw(stat);
 use File::Slurp qw(read_file write_file);
-use File::Spec qw(splitpath curdir);
+use File::Spec::Functions qw(splitpath curdir);
 use JSON qw(decode_json);
 use Net::DNS qw();
 use Net::Domain::TLD qw(tld_exists);