diff options
Diffstat (limited to 'lib/List/Breakdown.pm')
-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>: |