in reply to Re: Re: The Cost of Nested Referencing
in thread The Cost of Nested Referencing
They're both far too verbose.
or if you really only have a single statement in there, even print @{$_}{@keyset2} for @hash{@keyset1}; You can be efficient and readable all at the same time.for my $subhash (@hash{@keyset1}) { print $subhash->{$_} for @keyset2; }
Makeshifts last the longest.
In Section
Meditations