in reply to lines written to stdout by a backtick command

By the way, I'm doing this on Windows, using Activestate Perl 5.8.0.

I hope that's not the problem, as I have to run this on a production system under Windows Server 2003, and I'd rather not use Cygwin (which I have used with bash scripts instead to achieve the same results)

Drew

  • Comment on Re: lines written to stdout by a backtick command

Replies are listed 'Best First'.
Re^2: lines written to stdout by a backtick command
by sk (Curate) on Aug 15, 2005 at 06:44 UTC
    AFAIK, It should not cause any problems on windows... I tried the same script on my XP Pro SP2 machine and works just fine. I am on AS 5.8.7.

    On windows I couldn't get the shebangs to work well. If you have similar issues then you should change the open to  open (PIPE,"perl printsth $arg | ");

    cheers

    SK