From 9419d2f62492af207af381edcff5a19742c918fe Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 5 Oct 2017 10:34:08 +1300 Subject: Move SUBROUTINES/METHODS above EXAMPLES --- lib/List/Breakdown.pm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/List/Breakdown.pm b/lib/List/Breakdown.pm index 6763225..735b405 100644 --- a/lib/List/Breakdown.pm +++ b/lib/List/Breakdown.pm @@ -135,6 +135,16 @@ This puts the following structure in C<%filtered>: has_ba => ['bar', 'baz'], ) +=head1 SUBROUTINES/METHODS + +=head2 B + +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 for which the subroutine returns true, in the same way as C, or (as +a shortcut) for which the regular expression matched. + =head1 EXAMPLES =head2 @@ -264,16 +274,6 @@ C<%results>: Note the extra level of hash referencing beneath the C key. -=head1 SUBROUTINES/METHODS - -=head2 B - -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 for which the subroutine returns true, in the same way as C, or (as -a shortcut) for which the regular expression matched. - =head1 AUTHOR Tom Ryder C<< >> -- cgit v1.2.3