In "Programming Perl", there is an example of eval in chapter 3 that I do not understand. It is on page 161. It reads:
Here's a statement that assigns an element to a hash chosen at run-time: eval "\$$arrayname{\$key} = 1"; I know the \ creates a reference, and the $ is dereferencing $arrayname. Why is he calling it $arrayname when he is assigning an element to a hash? I am not understading the relationship between array and hash here. Can anyone provide some details about what is going on here? Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]