in reply to Recursive hash assignment

For this type of thing, I tend to

$key = join '|', @keys;
$hash{$key} = $value;


surfing the net and other cliches....