in reply to Convert array to array of hashes

You don't have an array with this this format: a=1,b=5,c=8,d=89, a=5,b=65,c=8,d=19,a=41,b=98,c=8,d=34,a=341,b=125,c=3,d=19, a=65,b=23,c=8,d=70.

That is not an "array". That looks like a string. maybe you have a file like this?????:

1,5,8,89; 5 65 8 19 41 98 8 34
Please be more specific.