in reply to A more elegant way to filter a nested hash?

I came up with the following function which seems to work well:

Hi,

How do you use hash_filter?

Which of these most resembles your solution?

Which of these would most shorten your solution?

Which is more elegant? Which is irrelevant? Which is more used/famous has examples of use on perlmonks?

Data::Diver , Data::DPath, Data::Path, Data::Walk, Data::Walker, Data::Visitor::Callback, Data::pQuery/MarpaX::xPathLike, Data::CSel, JSON::Path

  • Comment on Re: A more elegant way to filter a nested hash? ( data xpath, dpath, diver, walk, walker, visitor, jquery, pquery, json path, css csel, MarpaX::xPathLike)