in reply to trying to print hashes with mixed results
Your output tells us that your lexical variable $v is a reference to a hash. We do not know what that hash contains or how you want it printed. The module Data::Dumper is a great tool learn what it contains. With this knowledge, you should be able to dereference $v and loop through its keys the same way that you did $subplot_ERROR.