Is there a popular Perl module that works like Data::Dumper but allows user to write hook to manipulate the data inside complex structure or object.
There are a few modules showing up in google such as Data::Visitor or Data::Structure::Util that might do the job, but I’m not sure if they are the popular ones .
I’ve written Data::Dmap to do this, but as mentioned,
Data::Rmap,Data::TransformerandData::Visitorare also relevant.The basic idea of
Data::Dmapis that it allows you to transform anything in a nested data structure and still tries to behave like the built in map function.