in reply to Re: How do I capture large output in a perl variable
in thread How do I capture large output in a perl variable

Hi, Thanks for the suggestion. I got the html formatting working. Regarding the incomplete output, I tried using pipe open like you suggested but I am still not able to get the entire output(just the same incomplete output). Also I tried to redirect the output from the "property" command to a file on my account on the webserver instead of directly sending it to the browser and still the file didn't contain the entire output. It just contained the incomplete output that I used to get earlier on the browser. But if I log onto my account on the webserver and run the "property" command and redirect it to a file, I get the COMPLETE output in the file. I also observed that the file was about 400Kb in size which is not too big. Any suggestions on what else I could try? Thanks, vinay
  • Comment on Re^2: How do I capture large output in a perl variable

Replies are listed 'Best First'.
Re^3: How do I capture large output in a perl variable
by Anonymous Monk on Mar 30, 2005 at 14:35 UTC
    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