in reply to Concerning hash operations (appending, concatenating)
which spews outuse strict ; use warnings ; my %hash=('a'=>'b','c'=>'d') ; my @arr=(%hash) ; local $"="|" ; print "@arr" ;
Now,a|b|c|d
flattens out the key value pairs of %hash into a list. Hence it reduces to(%hash,'e'=>'f')
So on and so forth for code like('a'=>'b','c'=>'d','e'=>'f')
(%hash1,%hash2)
|
---|