Isn't this dependent of the way Perl is started?
IOW did you have an associated DOS window or did you use wperl?
Your solution looks nice you might consider sending a patch request to the module's maintainer, such that users avoid using C.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: How to capture (intercept) output (warnings) of a module
by LanX
in thread How to capture (intercept) output (warnings) of a module
by davidfilmer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |