When working with hashes use braces {}, not brackets [].$href->{name} = $value;
Finally, you can omit all the -> except the first one:
Phil$href->{name}{subkey}
In reply to Re: references troubles
by philcrow
in thread references troubles
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |