It never occurred to me that one can see an array as an order-preserving hash indexed by numbers. It took Data::Dref on CPAN to show me this light. Data::Dref is amazing. Ever wanted to query your data structures and parcel complex aggregates of aggregates into different buckets based on criteria? It does it. Highly undersung.
  • Comment on Data::Dref provides uniform access to hashes and arrays