Hi Alceu,
I don't know anything about CGI::Application or PerlEx, so apologies
in advance if I miss something obvious.
On Nov 26, 2008, at 6:55 PM, Alceu Rodrigues de Freitas Junior wrote:
> <log>
> *** 'C:\dts_ut\dts.plex' log message at: 2008/11/12 18:26:33
> Precompiler: Fatal Eval Error:
> Package:[PerlEx::Precompiler::c_::dts_ut::dts_plex]
> File:[C:\dts_ut\dts.plex]
> Error:[Can't dup STDOUT: Bad file descriptor at
> C:/Perl/lib/Test/Builder.pm line 1376.
> [..]
> Compilation failed in require at C:\dts_ut\dts.plex line 3.
> BEGIN failed--compilation aborted at C:\dts_ut\dts.plex line 3.
> ]
> </log>
I tried to check what line 1376 on Test::Builder did, but that line on
Perl 5.10 is pretty benign (it's an assignment). Which versions of
Test::Builder and Perl are you using? What is line 1376 of Test/
Builder.pm trying to do? Maybe there's some way you can "fix" it to
work for your program?
> Could you point to any link or documentation where I could find more
> details about PerlEx? I tried to get some feedback with the
> Test::Builder creator but got no answer until now.
I googled "Can't dup STDOUT: Bad file descriptor" and got this, which
looks a lot like your error message:
http://www.nntp.perl.org/group/perl.qa/2006/07/msg6705.html
Not sure if it's helpful, but maybe PerlEx is localizing a filehandle
in a BEGIN somewhere. Or something.
If you haven't already, you should ask your question at PerlMonks:
there's bound to be somebody there who's had this problem before.
cheers,
Gaurav
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs