Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-11-26 07:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls