RE: Hash Issue or Understanding

2003-10-30 Thread Bruce_Phillip
Sudarshan, Thanks for the info. I understand now and makes sense. Phillip -Original Message- From: Sudarshan Raghavan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 1:51 AM To: [EMAIL PROTECTED] Subject: Re: Hash Issue or Understanding >The output works but it not in

RE: Hash Issue or Understanding

2003-10-30 Thread Bruce_Phillip
Gary, Thanks for the feedback. Phillip -Original Message- From: Gary Stainburn [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 1:47 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Hash Issue or Understanding On Thursday 30 Oct 2003 8:17 am, [EMAIL PROTECTED] wrote

Re: Hash Issue or Understanding

2003-10-30 Thread Wiggins d Anconia
> On Thursday 30 Oct 2003 8:17 am, [EMAIL PROTECTED] wrote: > > it states in the perl docs that the sequence of the keys returned from a hash > cannot be guaranteed, and even if they always return in the same order in the > current version, that may change in a future version of perl. > Jus

Re: Hash Issue or Understanding

2003-10-30 Thread Gary Stainburn
On Thursday 30 Oct 2003 8:17 am, [EMAIL PROTECTED] wrote: > Hi, > > > >For those of you who helped me with my earlier scripts. Thanks. > > [snip] > > It seems to me the hash started almost at the bottom of the list instead of > > With the hostname and work it way down. Is there any way to force

Re: Hash Issue or Understanding

2003-10-30 Thread Sudarshan Raghavan
The output works but it not in the order I expected: I expected my output to be: hostname, IP addrress, OS, Version, Release, Server Type, Model, Memory Size, Total CPU's. But what I got was: Model, Server Type, cpu, Release, hostname, OS, Memory Size, Version It seems to me the hash sta

Hash Issue or Understanding

2003-10-30 Thread Bruce_Phillip
Hi, For those of you who helped me with my earlier scripts. Thanks. But I have a further problem in understanding something. Using The following declaration: my %commands = ('sol'=>{'hostname' =>'uname -n', 'os' =>'uname