in reply to Simple concatenation of hashes
Hrm. I don't know where or if it is documented... but I'm somehow very sure that the last value associated with a particular key is always the one that is kept. Given the way list flattening works, that means that, yes, %fmt = (%a, %b); will always result in %b overriding %a.
Even though I couldn't find anything in the documentation, I did find several core module that apparently rely on this feature. I very much doubt it will ever be changed (on purpose) as it would undoubtedly break lots of code. If plans were made to change it, it would be deprecated long before it were actually changed.
-sauoq "My two cents aren't worth a dime.";
|
|---|