RE: Array of Hashes

2002-09-18 Thread Simon Tomlinson
On Wed, 18 Sep 2002, Simon Tomlinson wrote: > > > Apologies, that was bad typing in my email. I rearrange the algorithm t

RE: Array of Hashes

2002-09-18 Thread Simon Tomlinson
t "THIS DOESN'T WORK: $key $newHash {$key}\n"; ^ should be: print "THIS DOESN'T WORK: $key $newHash{$key}\n"; > -Original Message- > From: Simon Tomlinson [mailto:[EMAIL PROTECTED]] > Sent: Wed

Array of Hashes

2002-09-18 Thread Simon Tomlinson
Hi I want to put a hash into each element of an array. I do it like the following bit of code. When I iterate round my hash before putting it in the array of the hash values/keys are there. However, when I iterate through the hash after putting it in the array all i get is '4/8' as the oupu