aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-03 15:43:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-03 15:44:28 +1300
commitd4afd463f0b0dc51977d05e3d1962193985c7555 (patch)
treed46842d1829381f182b5e98206d86eea3582d04c /lib
parentd61c5ece21b2bbfcfd67f7472c7832395f9c458b (diff)
downloadList-Breakdown-d4afd463f0b0dc51977d05e3d1962193985c7555.tar.gz
Adjust exporting to accommodate old Perlsv0.03
Diffstat (limited to 'lib')
-rw-r--r--lib/List/Filters.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/List/Filters.pm b/lib/List/Filters.pm
index 41e88ff..73dcd45 100644
--- a/lib/List/Filters.pm
+++ b/lib/List/Filters.pm
@@ -10,14 +10,14 @@ use 5.006;
# Import required modules
use Carp;
-use Exporter 'import';
-# Specify package version
-our $VERSION = 0.02;
-
-# Specify functions available for export
+# Handle exporting in a way Perl v5.6 should tolerate
+use base qw(Exporter);
our @EXPORT_OK = 'filter';
+# Specify package version
+our $VERSION = 0.03;
+
# Dispatch table of functions to handle different ref types for the spec
# hashref's values
my %types = (
@@ -89,7 +89,7 @@ List::Filters - Build list sublists matching conditions
=head1 VERSION
-Version 0.02
+Version 0.03
=head1 DESCRIPTION