$_[0]->{$name} and $_[0]{$name} are equivalent. Always, no matter the status of use strict 'refs'. The -> between subscripts is optional. This is in no way related to symbolic references or typeglobs or packages.
If you obtained different results, you must have changed something more.
In reply to Re^3: what does main->{x} = 1 do?
by Jenda
in thread what does main->{x} = 1 do?
by ganeshk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |