I think that the alternative is better than yours for a pretty simple reason. With it, you don't need to find and edit out the dereference op for every use of the hash. Only one line of code needs to change.
context context -my %$h = ('name' => 'value', ...); +my $h = {'name' => 'value', ...}; context print $h->{'name'};
After Compline,
Zaxo
In reply to Re: Relative Merits of References
by Zaxo
in thread Relative Merits of References
by pbeckingham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |