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

I'd like to know if your guess was right.
  • Comment on Re: Re: Adding values to a hash of hashes

Replies are listed 'Best First'.
Re: Re: Re: Adding values to a hash of hashes
by tachyon (Chancellor) on Mar 06, 2003 at 10:18 UTC

    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

      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