Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: iterators: traversing arbitrary data structure

by dragonchild (Archbishop)
on Jan 11, 2006 at 20:45 UTC ( #522562=note: print w/ replies, xml ) Need Help??


in reply to iterators: traversing arbitrary data structure

Look at how Data::Dumper does it. Essentially, you will want to use Scalar::Util's reftype() and go from there.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?


Comment on Re: iterators: traversing arbitrary data structure

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2015-07-04 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls