Thank you very much to all for their comments/posts. I will take the time to read the posted links on a complex data structures in perl (including the posting guidelines). To give a little more clarity - basically prior to this output, i make an API call via a JSON - which returns the complex structure in my previous post. The structure contains a listing of services/applications running on the server - giving JobID, JobName, and running status (on/off). The reason for the call is to check if a service is stopped, if so, i can proceed with my next step in my script. I appreciate all of the responses. I will give it a go with your suggestions and see how i fare. If i come across further issues i will let you know, posting per the guidelines. Thanks again.