Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: iterators: traversing arbitrary data structure

by BrowserUk (Pope)
on Jan 11, 2006 at 22:17 UTC ( #522577=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: iterators: traversing arbitrary data structure
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://522577]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-08-20 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (124 votes), past polls