Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE(5)Making a Hash of Arrays

by Adam (Vicar)
on Sep 23, 2000 at 00:44 UTC ( [id://33707]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: RE: RE: Making a Hash of Arrays
in thread Making a Hash of Arrays

So you need to dereference the arrays. @$arrayref.

If you just need to know what's in the hash, use Data::Dumper. It does a great job of expanding references and can be made to do all sorts of pretty printing.

use Data::Dumper; print Data::Dumper->Dump([\%yourhash], ["name of your hash"]), "\n";
You can also use that to print your arrays and such.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-23 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found