aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-05 10:34:08 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-05 10:34:08 +1300
commit9419d2f62492af207af381edcff5a19742c918fe (patch)
tree5d9c15025a45bce43965b5f7f7d49407df1a1c02
parentAdd distribution tarballs to MANIFEST.SKIP (diff)
downloadList-Breakdown-9419d2f62492af207af381edcff5a19742c918fe.tar.gz
List-Breakdown-9419d2f62492af207af381edcff5a19742c918fe.zip
Move SUBROUTINES/METHODS above EXAMPLES
-rw-r--r--lib/List/Breakdown.pm20
1 files 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<breakdown(\%spec, @items)>
+
+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<grep>, 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<problem> key.
-=head1 SUBROUTINES/METHODS
-
-=head2 B<breakdown(\%spec, @items)>
-
-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<grep>, or (as
-a shortcut) for which the regular expression matched.
-
=head1 AUTHOR
Tom Ryder C<< <tom@sanctum.geek.nz> >>