my $p = \\%hash; $p = \$$p->{$_} for @cats; $$p->{_val} = $value;
$p = \$$p->{$_} ...
In reply to Re^2: Building an arbitrary-depth, multi-level hash
by repellent
in thread Building an arbitrary-depth, multi-level hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |