Hi guys,
Thanks for all your suggestions. I did learn some good debugging techniques in perl. I finally got the script working to retrieve the large output. The problem was that the web admin had put a cap on the apache memlimit directive and hence I wasn't able to retrieve the complete output. Once we increased that limit observing the memory requirements of the "property" command, everything started working!! :)
Thanks a lot :)
Regards,
Vinay