From b890920c31dbf99694e9ead88c1961a7cd4bc9d6 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 21 Jun 2013 09:24:00 -0400 Subject: just use Exporter if people care about the Sub::Exporter features, they can just use Sub::Import --- lib/Dist/CheckConflicts.pm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/Dist/CheckConflicts.pm b/lib/Dist/CheckConflicts.pm index ac860c7..03aaf80 100644 --- a/lib/Dist/CheckConflicts.pm +++ b/lib/Dist/CheckConflicts.pm @@ -3,9 +3,13 @@ use strict; use warnings; # ABSTRACT: declare version conflicts for your dist +use Exporter 'import'; +our @EXPORT = our @EXPORT_OK = ( + qw(conflicts check_conflicts calculate_conflicts dist) +); + use Carp; use List::MoreUtils 'first_index'; -use Sub::Exporter; =head1 SYNOPSIS @@ -82,13 +86,6 @@ loaded before or afterwards). =cut -my $import = Sub::Exporter::build_exporter({ - exports => [ qw(conflicts check_conflicts calculate_conflicts dist) ], - groups => { - default => [ qw(conflicts check_conflicts calculate_conflicts dist) ], - }, -}); - my %CONFLICTS; my %HAS_CONFLICTS; my %DISTS; -- cgit v1.2.3