If you get that error, looking at perldiag usually tells you where the error comes from. In your case, $response->{'Name'} is not what you think it is.
I recommend looking at $response, maybe by using Data::Dumper.
In reply to Re^3: Use of uninitialized value in pattern match (m//)
by Corion
in thread Use of uninitialized value in pattern match (m//)
by troyhughes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |