in reply to Could I redirect stdout back into my script?

While you could use pipes for this, the Pod::Parser piping it's output to your script, the same process cannot be on both ends of the pipe. (See the 'open' docs on PM or at perldoc.com). I would suspect that this means that your reader script can be made a child of the parent process, and thus be the pipe recipent. Again, the open docs give several alternatives to do this.

Given what might be invovled, the temporary file might be the better idea...


Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
  • Comment on Re: Could I redirect stdout back into my script?