in reply to Re: Re: Adding values to a hash of hashes
in thread Adding values to a hash of hashes

Given that the error message explicitly says that $authors{'douglas adams'} holds the value 1 (not 42 ;-) I will give you great odds.....of course he/she could be using $authors{'tolstoy'} = 1234567890 - 1234567889 or similar.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: Re: Re: Adding values to a hash of hashes
by suzka99 (Initiate) on Mar 06, 2003 at 21:54 UTC
    Yes, thank you for the advice. I was building the %authors has this way: $authors{$author} =1; Once I changed it to $authors{$author} = {}; Everything started working! Thank you very much because I was able to finally finish this module this afternoon. -Suzi (not a he, people are so presumptuous...)

      That damned s key. Sometimes it ssssssticks and ometimes he doen't work ;-). I do recall meeting a girl programmer or two but around here they are rare. orry. No offence intended. Glad you got it fixed.

      cheer

      tachyon

      s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print