foo key takes a hashref at 554371.pl line 27