Well, a big issue is that your regex begins with ^ and ends with $, which is kind of oxymoronic for a split. If you remove the $, it will probably work, unless you were intending what almut recommends, in which case you could also use '\n' instead of $.
I'm not sure what you are trying to do, but I would encourage you to go for a more complex data structure here, namely an array of hashes. That means a function which processes each app and returns a hash of its contents. If you want an example, just ask.