summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/Makefile.PL4
-rw-r--r--perl/private-Error.pm (renamed from perl/Error.pm)0
2 files changed, 2 insertions, 2 deletions
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index d401a6609b..25ae54a515 100644
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
@@ -12,9 +12,9 @@ my %pm = ('Git.pm' => '$(INST_LIBDIR)/Git.pm');
# We come with our own bundled Error.pm. It's not in the set of default
# Perl modules so install it if it's not available on the system yet.
-eval { require 'Error' };
+eval { require Error };
if ($@) {
- $pm{'Error.pm'} = '$(INST_LIBDIR)/Error.pm';
+ $pm{'private-Error.pm'} = '$(INST_LIBDIR)/Error.pm';
}
WriteMakefile(
diff --git a/perl/Error.pm b/perl/private-Error.pm
index ebd07498a2..ebd07498a2 100644
--- a/perl/Error.pm
+++ b/perl/private-Error.pm