which works brilliantly to merge hash b into hash a. What I don't understand is the syntax! Can someone explain what's actually going on here please.%a = ( a => 1, b => 2, c => 3, d => 4, e => 5 ); %b = ( c => 9, d => 16, f => 36 ); $A=\%a; @$A{keys %b} = values %b;
In reply to Hash merging! by jerry.hone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |