X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FPackages.pm;h=f4b209ecbf7a91e7f6b2c59d7b82a5b518140659;hb=e379a8a833838efb8992100f0095126159b23eb9;hp=e040bc9517c788342757809719981ee52c20e144;hpb=71e494868d8927d9b2850e2942e0e820feee0836;p=debbugs.git 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);