[boulder.pm] redirect stderr?

Robert L. Harris Robert.L.Harris at rnd-consulting.com
Wed Aug 9 10:33:30 CDT 2000



I'm doing an:

open(CMD, "command -debug 2>&1 |");
while(<CMD>) {
  chomp;
  <do some stuff>
  print OUTPUT "$Modified_\n";
}


But apparantly, I'm not getting the standard error output.  How do I
capture this?


:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




More information about the Boulder-pm mailing list