T
Tookelso
Hello,
I have perl scripts which are run on servers other than our own.
I can't see the console output on those servers. The feedback I get is
via logfile.
If my script dies unexpectedly, it is very difficult to find what
caused it to die.
Example:
use strict;
use warnings;
some_undefined_sub();
In the example above, Perl compiles OK, but when I run this script,
Perl dies with "Undefined subroutine blah blah".
Since I can't see the console output on the remote machine, I can't see
what went wrong.
I could divert STDERR to a file, but our scripts run for long time
periods. The log files are on a network, and it's possible that if a
network glitch occurs, I still may never see my error messages.
There's documented issues with write buffers not being flushed
immediately on Windoze boxes.
Any other advice?
Thanks,
--Took
I have perl scripts which are run on servers other than our own.
I can't see the console output on those servers. The feedback I get is
via logfile.
If my script dies unexpectedly, it is very difficult to find what
caused it to die.
Example:
use strict;
use warnings;
some_undefined_sub();
In the example above, Perl compiles OK, but when I run this script,
Perl dies with "Undefined subroutine blah blah".
Since I can't see the console output on the remote machine, I can't see
what went wrong.
I could divert STDERR to a file, but our scripts run for long time
periods. The log files are on a network, and it's possible that if a
network glitch occurs, I still may never see my error messages.
There's documented issues with write buffers not being flushed
immediately on Windoze boxes.
Any other advice?
Thanks,
--Took