Re: Unknown level of hash
[email protected] (Ton Hospel)
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Organization | lunix confusion services |
| Message-ID | <[email protected]> |
I always found the code to do this WITH a loop quite funny in fact:
my $work = \$hash;
$work = \$$work->{$_} for @a;
$$work = 1;