I'm stumped (again):
This produces a file containing the following:
No, I didn't leave out the 1-7 by accident--it's really not there. Fooling around with buffering ($| = 1) doesn't help. Where did the rest of my error message go?
-Nick
Code:
open(OUTPUT, "> tester.txt");
print OUTPUT "hello\n";
open(STDERR, "> tester.txt");
die "123456789ThisIsMyErrorMessage";
This produces a file containing the following:
Code:
hello
89ThisIsMyErrorMessage at C:\ProjectsListExport\Scripts-7-15-04\webExporterModules\printLog.pm line 9.
No, I didn't leave out the 1-7 by accident--it's really not there. Fooling around with buffering ($| = 1) doesn't help. Where did the rest of my error message go?
-Nick