aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-05 10:31:07 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-05 10:31:07 +1300
commit65a6b5531d02ecf71474fa23770fc9a7788d44f0 (patch)
treee8fe62d1dc184f8fb3ee1fe9da83c57bea4b896d
parent117d5e17261250378645a10a04843486d722e75d (diff)
downloadList-Breakdown-65a6b5531d02ecf71474fa23770fc9a7788d44f0.tar.gz
Correct bug and add paragraph to "monitoring" ex
-rw-r--r--lib/List/Breakdown.pm5
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>: