in reply to Re: how to increase input buffer size in perl?
in thread how to increase input buffer size in perl?

Oh, that is a typo. I didn't copy and paste from my script but I AM using open2. Still have any ideas anyone?
  • Comment on Re^2: how to increase input buffer size in perl?

Replies are listed 'Best First'.
Re^3: how to increase input buffer size in perl?
by ikegami (Patriarch) on Mar 31, 2010 at 18:28 UTC
    Could you turn that into runnable code, please? It's not clear where the message comes from. I doubt it's from Perl. Finding the cause (Perl or otherwise) is the first step in finding a solution.
      Perl gets "Broken Pipe", the other error is from shell, or idl program
        Yeah, which one? I suspect it's IDL, but I'm giving the OP the benefit of the doubt (since he seems to think it's a Perl problem), and I'm giving the first anonymous monk the benefit of the doubt (since he said it was the shell, but I couldn't reproduce the problem with bash).
Re^3: how to increase input buffer size in perl?
by shooter714 (Initiate) on Apr 07, 2010 at 03:46 UTC
    Yeah, the error has to do with how many arguments idl can accept. It caps out at 32766 character length. Instead I had to just write the array to a file and read that file inside the IDL script. Apparently you can't break up the array into separate lines either. IDL will throw an error.