path: root/lib
diff options
authorTom Ryder <tom@sanctum.geek.nz>2017-10-03 16:32:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-03 16:32:23 +1300
commitc4214832c376c9424bab0e67c88a34e7cbefaf7a (patch)
tree53730e8c7b877d2f92dca14547edc4ae95aeb1db /lib
parentd4afd463f0b0dc51977d05e3d1962193985c7555 (diff)
downloadList-Breakdown-c4214832c376c9424bab0e67c88a34e7cbefaf7a.tar.gz (sig)
Correct some awkward documentationv0.04
Diffstat (limited to 'lib')
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/List/Filters.pm b/lib/List/Filters.pm
index 73dcd45..1e31f69 100644
--- a/lib/List/Filters.pm
+++ b/lib/List/Filters.pm
@@ -16,7 +16,7 @@ use base qw(Exporter);
our @EXPORT_OK = 'filter';
# Specify package version
-our $VERSION = 0.03;
+our $VERSION = 0.04;
# Dispatch table of functions to handle different ref types for the spec
# hashref's values
@@ -89,7 +89,7 @@ List::Filters - Build list sublists matching conditions
=head1 VERSION
-Version 0.03
+Version 0.04
@@ -127,7 +127,8 @@ You could maybe think of it as a multi-C<grep> that returns named results.
Given a hash reference structure and a list of items, apply each of the
subroutines or regular expressions given as values of the hash reference,
returning a new hash in the same structure with the tests replaced with the
-items that for which the subroutine was true or the regular expression matched.
+items for which the subroutine returns true, in the same way as C<grep>, or (as
+a shortcut) for which the regular expression matched.
=head1 AUTHOR