http://www.perlmonks.org?node_id=1003093


in reply to Re^2: Use of uninitialized value in pattern match (m//)
in thread Use of uninitialized value in pattern match (m//)

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.