Re: Unknown level of hash
Yitzchak Scott-Thoennes <[email protected]>
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Organization | bs"d |
| Message-ID | <[email protected]> |
On Tue, Mar 29, 2005 at 05:50:18AM +0000, Ton Hospel wrote:
> I always found the code to do this WITH a loop quite funny in fact:
>
> my $work = \$hash;
> $work = \$$work->{$_} for @a;
> $$work = 1;
Ha ha ha :)