in reply to Re^2: Hash Ref Error
in thread Hash Ref Error

After assuming that $some_data is a single string with newlines, I can also confirm it works on v5.8, v5.18 and v5.22.