Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-16 Thread Panda-X
2008/12/17 Chas. Owens > On Tue, Dec 16, 2008 at 10:30, Panda-X wrote: > > Hi Owen, > > > > 2008/12/15 Chas. Owens > >> > >> On Mon, Dec 15, 2008 at 04:18, Panda-X wrote: > >> > Hello, > >> > > >> > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) > >> > items inside are all has

Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-16 Thread Chas. Owens
On Tue, Dec 16, 2008 at 10:30, Panda-X wrote: > Hi Owen, > > 2008/12/15 Chas. Owens >> >> On Mon, Dec 15, 2008 at 04:18, Panda-X wrote: >> > Hello, >> > >> > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) >> > items inside are all hashes. >> > >> > and the next step I dealing wi

Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-16 Thread Panda-X
Hi Owen, 2008/12/15 Chas. Owens > On Mon, Dec 15, 2008 at 04:18, Panda-X wrote: > > Hello, > > > > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) > > items inside are all hashes. > > > > and the next step I dealing with this hash tree is to use > > Data::Dumper to dump it out.

Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-15 Thread Jenda Krynicky
From: Panda-X > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) > items inside are all hashes. > > and the next step I dealing with this hash tree is to use > Data::Dumper to dump it out. > > What I hope that the Data::Dumper result can keep the order as > what I declared at very

Re: Can I tie deep hash / Data::Dumper keys order ?

2008-12-15 Thread Chas. Owens
On Mon, Dec 15, 2008 at 04:18, Panda-X wrote: > Hello, > > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) > items inside are all hashes. > > and the next step I dealing with this hash tree is to use > Data::Dumper to dump it out. > > What I hope that the Data::Dumper result can ke

Can I tie deep hash / Data::Dumper keys order ?

2008-12-15 Thread Panda-X
Hello, I have a hash tree, which sub- and sub-sub-sub ( and whatever ) items inside are all hashes. and the next step I dealing with this hash tree is to use Data::Dumper to dump it out. What I hope that the Data::Dumper result can keep the order as what I declared at very first. Is that anyway

RE: Getting through a deep hash

2002-05-24 Thread Bob Showalter
> -Original Message- > From: Barry Jones [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 6:32 AM > To: Beginners @ Perl (E-mail) > Subject: Getting through a deep hash > > > I'm having trouble with this set of code. I'm trying to > navig

Re: Getting through a deep hash

2002-05-24 Thread Michael Lamertz
On Fri, May 24, 2002 at 09:32:26AM -0400, Barry Jones wrote: > > my $results = $test->{testing_results}{testing_result}; > if(ref($results) eq 'ARRAY') { > for my $spot (@$results) { > for my $key (keys %$spot) { > if (ref($spot->{$key}) eq 'HASH') {

Getting through a deep hash

2002-05-24 Thread Barry Jones
I'm having trouble with this set of code. I'm trying to navigate my way through a VERY deep hash (aka hash with references to hash with references to arrays with references to hashes, which may not contain any values cause that's the way it was written before I got here). Anyw

Re: deep hash

2001-06-18 Thread Peter Scott
At 01:00 AM 6/18/01 -0500, Teresa Raymond wrote: >I'm sorry, but I mean could you explain the syntax of the whole line. Always ask the list, not an individual respondent. I may be gone for a month in Antarctica or something. >>At 10:08 PM 6/17/01 -0500, you wrote: >>>Could you please explain t

Re: deep hash

2001-06-16 Thread Peter Scott
At 05:04 PM 6/16/01 -0400, F.H wrote: >Hi All, >I am trying to display some data as follows: > > City: Chicago > Street: Main > People: >John Doe 1 >John Doe 2 >J.D 3 > > City: L.A >

deep hash

2001-06-16 Thread F.H
Hi All, I am trying to display some data as follows: City: Chicago Street: Main People: John Doe 1 John Doe 2 J.D 3 City: L.A Street and so on...for the other states my %state; Whil