diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-03 15:43:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-03 15:44:28 +1300 |
commit | d4afd463f0b0dc51977d05e3d1962193985c7555 (patch) | |
tree | d46842d1829381f182b5e98206d86eea3582d04c | |
parent | Correct a documentation typo (diff) | |
download | List-Breakdown-d4afd463f0b0dc51977d05e3d1962193985c7555.tar.gz (sig) List-Breakdown-d4afd463f0b0dc51977d05e3d1962193985c7555.zip |
Adjust exporting to accommodate old Perlsv0.03
-rw-r--r-- | lib/List/Filters.pm | 12 | ||||
-rw-r--r-- | t/words.t | 2 |
2 files changed, 7 insertions, 7 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 @@ -8,7 +8,7 @@ use Test::More tests => 1; use List::Filters 'filter'; -our $VERSION = 0.01; +our $VERSION = 0.03; my @words = qw(foo bar baz quux wibble florb); my $filters = { |