DiveVal($href, map \$_, @$aref) = 1;
Update: The advantage of this method is that it doesn't destroy the previous contents of $href.
In reply to Re: Change array to tiered hashref - brain teaser
by ikegami
in thread Change array to tiered hashref - brain teaser
by jonathan415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |