stanleyscup has asked for the wisdom of the Perl Monks concerning the following question:

I keep getting this error coming back in the variable $!, after attempting to grab a reference to Excel.Application, "Bad file descriptor". I think it has to do with some sort of permission problem. I believe in Administrative Tools there is something I should be checking for COM or DCOM in order to get rid of this error. Do any of you monks know anything about using Win32::OLE and such errors associated? Thanks in advance.

Replies are listed 'Best First'.
Re: Problem using Win32::OLE
by marto (Cardinal) on Jan 23, 2007 at 21:17 UTC
    stanleyscup,

    It is usually beneficial if you can provide the code that is generating the error, and the exact error in question. Post your code and people may be able to point out the cause of the problem.

    Cheers

    Martin
Re: Problem using Win32::OLE
by Anonymous Monk on Jan 24, 2007 at 00:30 UTC
    Try this program
    D:\>perl -e"print $!" Bad file descriptor
    $! is only useful after calling something that sets it.
A reply falls below the community's threshold of quality. You may see it by logging in.