$xml->{SD} is an arrayref, so $xml->{SD}{AMZN} is not a thing.
I strongly advise switching to a saner XML module. XML::LibXML is my favourite.
In reply to Re^3: Not a HASH reference
by tobyink
in thread Not a HASH reference
by fdavidg2019
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |