diff options
author | Adam Spiers <stow@adamspiers.org> | 2019-06-28 21:57:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-28 21:57:08 +0100 |
commit | 2a4c3d312096d3a658c294c80cc602fe4d873e39 (patch) | |
tree | d9bf1b5b2ce736ea862e992d670a32d285c7746c | |
parent | d991dfbbf8abc75d92c235a8e9a27277fe12cb92 (diff) | |
parent | 00c92076d906f9dab665ac547ed9fca6fd7dbc67 (diff) | |
download | stow-2a4c3d312096d3a658c294c80cc602fe4d873e39.tar.gz |
Use Clone backend for Hash::Merge, not Storable (#58)
Use Clone backend for Hash::Merge, not Storable
-rw-r--r-- | Build.PL | 1 | ||||
-rw-r--r-- | META.json | 1 | ||||
-rw-r--r-- | META.yml | 1 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rwxr-xr-x | bin/stow.in | 5 |
5 files changed, 8 insertions, 2 deletions
@@ -61,6 +61,7 @@ my $build = Module::Build->new( 'Carp' => 0, 'IO::File' => 0, 'Hash::Merge' => 0, + 'Clone' => 0, }, script_files => [ 'bin/stow', 'bin/chkstow' ], all_from => 'lib/Stow.pm.in', @@ -29,6 +29,7 @@ "runtime" : { "requires" : { "Carp" : "0", + "Clone" : "0", "Hash::Merge" : "0", "IO::File" : "0", "perl" : "5.006" @@ -24,6 +24,7 @@ provides: version: v2.3.0 requires: Carp: '0' + Clone: '0' Hash::Merge: '0' IO::File: '0' perl: '5.006' diff --git a/Makefile.am b/Makefile.am index 9917653..a6311d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -105,7 +105,7 @@ MAINTAINERCLEANFILES = $(dist_man_MANS) $(HTML) $(PDF) ChangeLog clean-local: -rm -rf $(TESTS_OUT) maintainer-clean-local: - -rm -rf doc/manual-split + -rm -rf doc/manual-split cover_db # this is more explicit and reliable than the config file trick edit = sed -e 's|[@]PERL[@]|$(PERL)|g' \ diff --git a/bin/stow.in b/bin/stow.in index 1699bc0..355bbc9 100755 --- a/bin/stow.in +++ b/bin/stow.in @@ -462,7 +462,10 @@ use Getopt::Long qw(GetOptionsFromArray); use Stow; use Stow::Util qw(parent error); -use Hash::Merge qw( merge ); +# Need to avoid Storable backend, since it can't deal with regexps: +# https://rt.perl.org/Public/Bug/Display.html?id=50608 +use Clone::Choose qw(:Clone); +use Hash::Merge qw(merge); my $ProgramName = $0; $ProgramName =~ s{.*/}{}; |