Re: dereferencing hash problem

2000-12-08 Thread Carl Jolley
On Thu, 7 Dec 2000, Martin, James S. wrote: > The following code produces this result: > > "The key is HASH(0x3649f4) and the values is" > > > Of course I'd like to see the actual key name and value.. What am I doing > wrong? > > %win2k_counters= { > > 'CommitedBytesInUse' => "\\Memor

RE: dereferencing hash problem

2000-12-07 Thread Jesse Sookne
ry\\Available MBytes", ); while (($key, $value) = each (%win2k_counters)) { print "The key is $key and the value is $value\n"; } #### -Jesse Sookne -----Original Message- From: Martin, James S. [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 07, 2000 4:45 PM To: P

dereferencing hash problem

2000-12-07 Thread Martin, James S.
The following code produces this result: "The key is HASH(0x3649f4) and the values is" Of course I'd like to see the actual key name and value.. What am I doing wrong? Thanks, James %win2k_counters= { 'CommitedBytesInUse' => "\\Memory\\ Committed Bytes In Use", 'MbytesAvail' =>