As you already know, scalars are a single value and are represent by a dollar sign. This is why when accessing one value from a hash you use the dollar sign. '@' is associated with multiple values (specifically, arrays, which are multiple scalars). Thus, when accessing multiple scalars from a hash, you use the @ sign.
I believe this is changing in Perl 6 due to the confusion it brings.
And you didn't even know bears could type.
In reply to Re: deleting multiple hash keys
by Lawliet
in thread deleting multiple hash keys
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |