First, this assumes that Win32::OLE has an Application method (that is why you got an error message). Also, you cannot use my here, that is for declaring a (local) variable.1: ;; 2: use Win32::OLE; 3: use strict; 4: 5: my $proc = Win32::OLE->new('Project.clsInitialClass'); 6: my $proc->Application = $Application;
You probably want something like
$proc->{Application} = $Application
However, I doubt that you are doing here what you really want. I could tell you more if I knew what Win32::OLE is for :-)
Regards, - Cs.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]