From 65a6b5531d02ecf71474fa23770fc9a7788d44f0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 5 Oct 2017 10:31:07 +1300 Subject: Correct bug and add paragraph to "monitoring" ex --- lib/List/Breakdown.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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>: -- cgit v1.2.3