in reply to Problem Declaring a hash

You show six lines of code, so which one is line 26?

I can't see any problem with the code you provided. If you could provide some context, say two or three lines before and after the line provided, we may be able to help.

Naked blocks are fun! -- Randal L. Schwartz, Perl hacker