in reply to Re: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
in thread Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
So I got a version of IPC::Run installed on one of the machines here and I can't for the life of me get your program to work, ikegami. I get
/fst/home/m1jwc03/prod1/lib/cron% ./cron2.pl /fst/prod1/hedgefunds/Lipper/test.pl m1jwc03 Bareword found in conditional at ./cron2.pl line 46. Use of uninitialized value in scalar dereference at ./cron2.pl line 42. Use of uninitialized value in join or string at ./cron2.pl line 42. Use of uninitialized value in join or string at ./cron2.pl line 42. Use of uninitialized value in scalar dereference at ./cron2.pl line 42. Use of uninitialized value in join or string at ./cron2.pl line 42. Use of uninitialized value in scalar dereference at ./cron2.pl line 42. Use of uninitialized value in join or string at ./cron2.pl line 42. Use of uninitialized value in scalar dereference at ./cron2.pl line 42. Use of uninitialized value in join or string at ./cron2.pl line 42. Use of uninitialized value in scalar dereference at ./cron2.pl line 42. Use of uninitialized value in join or string at ./cron2.pl line 42.line 42 is
and line 46 is four lines down--the brace that closes the sub definition in the line 'return sub{' in new_prefixer.$$out_ref = join('', $$out_ref, $prefix, $$in_ref);
TIA,
T
_________________________________________________________________________________
Without me, it's just aweso
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
by ikegami (Patriarch) on May 19, 2006 at 20:19 UTC | |
by OfficeLinebacker (Chaplain) on May 19, 2006 at 20:38 UTC | |
by OfficeLinebacker (Chaplain) on May 19, 2006 at 21:00 UTC | |
by OfficeLinebacker (Chaplain) on May 19, 2006 at 21:20 UTC | |
by OfficeLinebacker (Chaplain) on May 19, 2006 at 21:32 UTC |