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