From c4214832c376c9424bab0e67c88a34e7cbefaf7a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 3 Oct 2017 16:32:23 +1300 Subject: Correct some awkward documentation --- lib/List/Filters.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib') 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 =head1 DESCRIPTION @@ -127,7 +127,8 @@ You could maybe think of it as a multi-C 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, or (as +a shortcut) for which the regular expression matched. =head1 AUTHOR -- cgit v1.2.3