in reply to Syntax and Temporary Variables

Also, if you're going to use "in", you have to include that in your use

use Win32::OLE qw(in);
Accessing OLE information can get quite tricky when you don't know exactly what is where. The easiest way I've found (on top of scouring msdn is to send the variables to Data::Dumper. I'd have to say it's saved me more time when working with OLE stuff than anything else.

Hope this helps..
Rich

Replies are listed 'Best First'.
Re: Re: Syntax and Temporary Variables
by John M. Dlugosz (Monsignor) on Jul 21, 2001 at 01:06 UTC
    If I import in, nothing changes. It still tells me that there is no &main::in! So I guess it didn't import?

    It works normally without importing it, since it's a "indirect object" syntax. You don't import new to say new Foo::, right?

    —John