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
Thanks.
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
Please explain me the syntax of the right hand side, how does this keys % { {%h1,%h2 } } thing work ??my @uniq = keys %{ {%hash1, %hash2} };
Thanks.
Back to
Seekers of Perl Wisdom