From: cjwatson <> Date: Sun, 24 Jul 2005 22:22:28 +0000 (-0800) Subject: [project @ 2005-07-24 15:22:28 by cjwatson] X-Git-Tag: release/2.6.0~689 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e379a8a833838efb8992100f0095126159b23eb9;p=debbugs.git [project @ 2005-07-24 15:22:28 by cjwatson] don't break other namespaces that need to load /etc/debbugs/config --- diff --git a/Debbugs/Packages.pm b/Debbugs/Packages.pm index e040bc95..f4b209ec 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);