Classification is a powerful tool for data munging. Easy to do with raw Perl code, and even easier with a Perl module (List::Categorize) or Raku methods (.classify, .categorize) . Sail past SQL’s GROUP BY with Hashes of Arrays (HoA), HoHoA, HoHoHoA … ∞ !