I started to write it but didn't reach to finish it. Any way, the main idea is unless (ref = scalar) { if (ref = hash) { enter another layer } elsif (ref = array) { print @Array } } print $HASH{$KEY}
HTH, Yargo! Original Message: ----------------- From: R. Joseph Newton [EMAIL PROTECTED] Date: Thu, 03 Apr 2003 18:04:43 -0800 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: HASH PRINTING Eric Walker wrote: > I have a HASH with a mixture of single, double and triple layers. > exampl hash of hash of array's etc.... > I try to dump and see values of the entire db but I get pointers and > memory addresses. Below is my code Please help. > > foreach my $item (keys %hData){ > print ("$item: $hData{$item}\n"); > } > > Thanks > Eric Stay tuned on this list. I am creating this some plumbing facilites for such structures on another thread. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]