in reply to Re^2: hashref return fails
in thread hashref return fails

But look at where the print statement is which the OP claims works...