Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: What data structure is this code looking for

by davido (Cardinal)
on Nov 15, 2011 at 16:18 UTC ( [id://938213]=note: print w/replies, xml ) Need Help??


in reply to What data structure is this code looking for

The other posts provide good insight, but if you really want to know what a data structure looks like one of the simplest methods is to do this:

use Data::Dumper; # ....... print Dumper( $abc );

You'll get a dump of the data structure on your screen. Very useful for getting a snapshot of what you're working with. Sometimes I'm even the one who created the structure, and I will use Data::Dumper to verify that it looks as I expected it to.


Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-03-28 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found