in reply to Error: when joining two hashes

I'm making some assumptions about how you want the data merged, but at least the following produces your expected output:

use Hash::Merge; my $merger = Hash::Merge->new(); my $joined_FS = {}; $joined_FS = $merger->merge($joined_FS, $_) for $VAR1, @$VAR2;

Replies are listed 'Best First'.
Re^2: Error: when joining two hashes
by Sami_R (Sexton) on Feb 20, 2020 at 12:39 UTC

    Thank you so much Haukex, that really solved my issue. Thanks again.