But:
> How does the hash get assigned by using the list symbol on it? ...
> ... @b{@f}=();
It's the same logic with $b{@f} = "value" where the LHS is a $scalar.
It's the curlies {...} which qualify b as hash.
Now with the @array sigil it becomes a list @b{@f}=();
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Hash Curious
by LanX
in thread Hash Curious
by cadphile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |