in reply to Re^8: Combinations of lists, etc
in thread Combinations of lists to a hash

> But I'm still interested if you know of a concise efficient alternative, which would allow reading & writing.

We already showed you:

$hash{$_} = { %$value } for @keys;

or

$hash{$_} = { %value } for @keys;

The only concise alternative which comes to mind is

@hash{ @keys } = map { { %value } } @keys

But it's neither shorter nor easier to read.

Cheers Rolf

update

But honestly you should stick to syntax you understand, even if it takes some lines more.

Replies are listed 'Best First'.
Re^10: Combinations of lists, etc
by tel2 (Pilgrim) on Oct 08, 2019 at 22:01 UTC
    Thanks for that, again, LanX.