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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re^3: The Cost of Nested Referencing
by lestrrat (Deacon) on Nov 20, 2002 at 18:24 UTC | |
by Aristotle (Chancellor) on Nov 20, 2002 at 18:34 UTC | |
by lestrrat (Deacon) on Nov 20, 2002 at 18:39 UTC | |
by Aristotle (Chancellor) on Nov 20, 2002 at 18:43 UTC | |
by lestrrat (Deacon) on Nov 20, 2002 at 18:49 UTC |
In Section
Meditations