in reply to Array of Hashes

FYI, for references, I find the alternate notation easier to read: ->{ }

Like this: $metadata->{path} = $filepath_rs;