http://www.perlmonks.org?node_id=1011256

ghosh123 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monk,

I need to understand this following syntax which is collecting the unique keys from two hashes into one array.
The following code works fine, but I do not understand the meaning of the syntax, please explain me

my @uniq = keys %{ {%hash1, %hash2} };
Please explain me the syntax of the right hand side, how does this keys % { {%h1,%h2 } } thing work ??

Thanks.