diff options
Diffstat (limited to 'lib/List/Filters.pm')
-rw-r--r-- | lib/List/Filters.pm | 7 |
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 =head1 DESCRIPTION @@ -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 |