[Speedycgi-users] FIXED!!!
Brought to you by:
samh
|
From: Jonathan B. <jo...@es...> - 2002-12-19 23:08:33
|
I found the problem - it was Parse::RecDescent (which is included by
Spreadsheet::WriteExcel). Parse::RecDescent is dup-ing STDERR on _MODULE
LOAD_, which is screwing something up in speedy. Adding the following
code to the beginning of my program fixed the problem.
BEGIN {
close(STDERR);
}
This prevented Parse::RecDescent from dup-ing a valid file descriptor, but
also screws up error reporting. Is this a feature or a bug with speedy?
Alternatively, to keep STDERR, I might dup it, close it, load
Parse::RecDescent, dup it back, and then reclose the dup-d one.
Any ideas from users?
Jon
|