I don't see an array in your data structure at all. It looks more like part of a 'Hash of Hashes'.
You first need access the data you are interested in (maybe using two nested foreach keys) and then split the string by |, capturing the number of interest and find the min.
If you show the code you have so far it would be much easier to provide you with more specific help.
cheers, si_lence