in reply to Re^3: Help to understand the Data::TreeDumper Filters
in thread Help to understand the Data::TreeDumper Filters
Thank you a lot. Now I finally understand it. My problem was always that I did not take the container elements (in this example "wife" and "kids") into account. So DumpTree did not recurse.
The same solution with positive logic would then be:
return('HASH', undef, grep { /^name|kids|wife$/} keys %$s) ;And of course you are right. I should describe what exactly did not work if I use a non-standard module.
|
|---|