From e379a8a833838efb8992100f0095126159b23eb9 Mon Sep 17 00:00:00 2001 From: cjwatson <> Date: Sun, 24 Jul 2005 14:22:28 -0800 Subject: [PATCH] [project @ 2005-07-24 15:22:28 by cjwatson] don't break other namespaces that need to load /etc/debbugs/config --- Debbugs/Packages.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Debbugs/Packages.pm b/Debbugs/Packages.pm index e040bc9..f4b209e 100644 --- a/Debbugs/Packages.pm +++ b/Debbugs/Packages.pm @@ -5,6 +5,8 @@ use strict; # TODO: move config handling to a separate module my $config_path = '/etc/debbugs'; require "$config_path/config"; +# Allow other modules to load config into their namespace. +delete $INC{"$config_path/config"}; use Exporter (); use vars qw($VERSION @ISA @EXPORT); -- 2.39.2