"[EMAIL PROTECTED]" wrote:

> 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]

Sorry for the ignorance but I think I am able to pull the first layer of
the hash but the values that are also hashes or arrays I get memory
pointers out .

For example:

TEMP: 2.0
TEMP5: ARRAY(0xdb660)
TEMP6: HASH(0xa2058)

Any suggestions on how to access the array and or hash at that point?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to