Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 chilling in the Monastery: (10)
As of 2016-04-29 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.