SPUG: A hash of hashes and arrays

Itay Furman itayf at u.washington.edu
Mon Aug 1 08:59:58 PDT 2005


On Mon, 1 Aug 2005, Duane Blanchard wrote:

> Date: Mon, 1 Aug 2005 08:46:16 -0700
> From: Duane Blanchard <dblanchard at gmail.com>
> To: spug-list at pm.org
> Subject: SPUG: A hash of hashes and arrays
> 
> Hi all,
>
> I have a hash of hashes and arrays. I'm able to print the all the keys
> of the outer hash, and print the embedded hashes and arrays
> individually, now I want to print the entire contents of the outer
> (matrix) hash.
>

It's worthwhile to familiarize yourself with the Data::Dumper 
module, which will do all the work for you in one line or so.
It is part of the standard distribution so
 	perldoc Data::Dumper
should give you all the information.


 	Itay

----------------------------------------------------------------
itayf at u.washington.edu   /   +1 (206) 543 9040   /   Seattle, WA



More information about the spug-list mailing list