$key2value is a hash reference, you retrieve the value for a this way: $key2value->{a}
see perldata for more info.
In reply to Re^3: Creating a hash out of multiple XML attributes in an elment
by mirod
in thread Creating a hash out of multiple XML attributes in an elment
by perlvroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |