diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-01-02 07:04:45 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-01-02 07:04:45 -0600 |
commit | a9bd383c0cb1207286c776cf03e1d67f461ba1bc (patch) | |
tree | b68965836809416eebb52e78d4ac0a8750de6e4b | |
parent | fc9e5f45427a69dd1fa58670b70e11d4c94f0683 (diff) | |
download | dist-checkconflicts-a9bd383c0cb1207286c776cf03e1d67f461ba1bc.tar.gz dist-checkconflicts-a9bd383c0cb1207286c776cf03e1d67f461ba1bc.zip |
don't die if the conflict module can't be found
-rw-r--r-- | lib/Dist/CheckConflicts.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Dist/CheckConflicts.pm b/lib/Dist/CheckConflicts.pm index 296ca54..32da3b1 100644 --- a/lib/Dist/CheckConflicts.pm +++ b/lib/Dist/CheckConflicts.pm @@ -98,7 +98,7 @@ sub import { my %conflicts = %{ $conflicts || {} }; for my $also (@{ $alsos || [] }) { - eval "require $also; 1;" or die "Couldn't find package $also: $@"; + eval "require $also; 1;" or next; my %also_confs = $also->conflicts; for my $also_conf (keys %also_confs) { $conflicts{$also_conf} = $also_confs{$also_conf} |