diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-05 10:31:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-05 10:31:07 +1300 |
commit | 65a6b5531d02ecf71474fa23770fc9a7788d44f0 (patch) | |
tree | e8fe62d1dc184f8fb3ee1fe9da83c57bea4b896d | |
parent | Add "records" example and accompanying test (diff) | |
download | List-Breakdown-65a6b5531d02ecf71474fa23770fc9a7788d44f0.tar.gz List-Breakdown-65a6b5531d02ecf71474fa23770fc9a7788d44f0.zip |
Correct bug and add paragraph to "monitoring" ex
-rw-r--r-- | lib/List/Breakdown.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/List/Breakdown.pm b/lib/List/Breakdown.pm index 5d33486..6763225 100644 --- a/lib/List/Breakdown.pm +++ b/lib/List/Breakdown.pm @@ -226,7 +226,10 @@ would lay out your buckets like so: And apply them like so: - my %results = breakdown \%buckets, $checks; + my %results = breakdown \%buckets, @checks; + +You can then apply C<%buckets> to any other list you may need to check in the +same way to get the same structure. For our sample data above, this would yield the following structure in C<%results>: |