in reply to Object get method as variable name
danmcb:
It appears that it's complaining that $r isn't a hashref. So use Data::Dumper or something and find out what it *is*.
...roboticus
When your only tool is a hammer, all problems look like your thumb.