http://qs1969.pair.com?node_id=430194

I wanted to run Win32::OLE on my development machine which is Debian Linux. This tutorial is based on CrossOver Office Standard 4.1, but it should also work with Wine (not tested).

That's it!. It wasn't hard at all.

Note: There are some problems however. While calling Excel via OLE works with CrossOver, if you have Excel started it will stop responding to GUI events. So, Excel window will look like it's frozen, but your scripts should be able to communicate with Excel anyway.
Update: I was totally wrong. Adding $excel->{Visible} = 1; fixed my problem. fvwm just doesn't know how to minimize running Excel.
And, now assorted list of links to get you started with Excel and OLE automation. TPJ article is very good introduction needed for Linux-nerd like me.

Replies are listed 'Best First'.
Re: How to install Win32::OLE under Linux?
by dpavlin (Friar) on Feb 11, 2005 at 21:47 UTC
    I would actually like to compile Win32::OLE using native wine libraries so that I can re-use Linux perl instead of having another copy, but that will have some other Win32 perl hacker (my knowledge of Win32 API is null).

    2share!2flame...
Re: How to install Win32::OLE under Linux?
by ForgotPasswordAgain (Priest) on Mar 13, 2005 at 22:34 UTC
Re: How to install Win32::OLE under Linux?
by zentara (Archbishop) on Feb 11, 2005 at 20:47 UTC
    Cool! I always wondered how to get wine to run ActiveState Perl.

    I'm not really a human, but I play one on earth. flash japh
Re: How to install Win32::OLE under Linux?
by Anonymous Monk on Aug 13, 2008 at 15:42 UTC
    Hi, I've installed ActivePerl and Microsoft Office. Both of them work on linux, but while I'm trying to open word document in perl I am gettin OLE error: Could not open macro storage. I've read that it is linked with trying to run word without active user (ie. server automation) - is there any solution to this problem on linux?