in reply to Re: How to use pty for both STDERR AND STDOUT in IPC::Run, while doing something different with each?
in thread How to use pty for both STDERR AND STDOUT in IPC::Run, while doing something different with each?

I compressed the part where I set up and open the log file so as so reduce screen RE; shall I add some blank lines or remove the context?

As far as using strict; will that help my particular problem?

_________________________________________________________________________________
Without me, it's just aweso

  • Comment on Re^2: How to use pty for both STDERR AND STDOUT in IPC::Run, while doing something different with each?

Replies are listed 'Best First'.
Re^3: How to use pty for both STDERR AND STDOUT in IPC::Run, while doing something different with each?
by samtregar (Abbot) on May 22, 2006 at 20:01 UTC
    Yes, you should make code you post here maximally readable and as short as possible. I bet lots of people that could have helped you skipped right past your post when they saw that god-awful block of code.

    I don't know if "use strict" will solve your problem, but it certainly can't hurt!

    -sam

      Whoops, just saw this. Seems like "maximally readable" and "as short as possible" are conflicting. I think I will just edit out everything but the run() part and leave it at that.

      _________________________________________________________________________________
      Without me, it's just aweso