Use Clone backend for Hash::Merge, not Storable (#58)
Use Clone backend for Hash::Merge, not Storable
This commit is contained in:
commit
2a4c3d3120
5 changed files with 8 additions and 2 deletions
1
Build.PL
1
Build.PL
|
@ -61,6 +61,7 @@ my $build = Module::Build->new(
|
||||||
'Carp' => 0,
|
'Carp' => 0,
|
||||||
'IO::File' => 0,
|
'IO::File' => 0,
|
||||||
'Hash::Merge' => 0,
|
'Hash::Merge' => 0,
|
||||||
|
'Clone' => 0,
|
||||||
},
|
},
|
||||||
script_files => [ 'bin/stow', 'bin/chkstow' ],
|
script_files => [ 'bin/stow', 'bin/chkstow' ],
|
||||||
all_from => 'lib/Stow.pm.in',
|
all_from => 'lib/Stow.pm.in',
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
"runtime" : {
|
"runtime" : {
|
||||||
"requires" : {
|
"requires" : {
|
||||||
"Carp" : "0",
|
"Carp" : "0",
|
||||||
|
"Clone" : "0",
|
||||||
"Hash::Merge" : "0",
|
"Hash::Merge" : "0",
|
||||||
"IO::File" : "0",
|
"IO::File" : "0",
|
||||||
"perl" : "5.006"
|
"perl" : "5.006"
|
||||||
|
|
1
META.yml
1
META.yml
|
@ -24,6 +24,7 @@ provides:
|
||||||
version: v2.3.0
|
version: v2.3.0
|
||||||
requires:
|
requires:
|
||||||
Carp: '0'
|
Carp: '0'
|
||||||
|
Clone: '0'
|
||||||
Hash::Merge: '0'
|
Hash::Merge: '0'
|
||||||
IO::File: '0'
|
IO::File: '0'
|
||||||
perl: '5.006'
|
perl: '5.006'
|
||||||
|
|
|
@ -105,7 +105,7 @@ MAINTAINERCLEANFILES = $(dist_man_MANS) $(HTML) $(PDF) ChangeLog
|
||||||
clean-local:
|
clean-local:
|
||||||
-rm -rf $(TESTS_OUT)
|
-rm -rf $(TESTS_OUT)
|
||||||
maintainer-clean-local:
|
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
|
# this is more explicit and reliable than the config file trick
|
||||||
edit = sed -e 's|[@]PERL[@]|$(PERL)|g' \
|
edit = sed -e 's|[@]PERL[@]|$(PERL)|g' \
|
||||||
|
|
|
@ -462,6 +462,9 @@ use Getopt::Long qw(GetOptionsFromArray);
|
||||||
use Stow;
|
use Stow;
|
||||||
use Stow::Util qw(parent error);
|
use Stow::Util qw(parent error);
|
||||||
|
|
||||||
|
# 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);
|
use Hash::Merge qw(merge);
|
||||||
|
|
||||||
my $ProgramName = $0;
|
my $ProgramName = $0;
|
||||||
|
|
Loading…
Reference in a new issue