"Hmmm..." <[EMAIL PROTECTED]> wrote:
>
> 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 \ c
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 $arra