http://www.perlmonks.org?node_id=522577


in reply to iterators: traversing arbitrary data structure

Take a look at Data::Rmap. It's rmap() routine is a recursive map specifically for traversing nested data structures.

use Data::Rmap; ... rmap{ s/^\s+\n//; } $oWkBook;

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.