in reply to Re: Win32::OLE and lvalue issue
in thread Win32::OLE and lvalue issue

Ikegami,

That is exactly what I figured out by looking at the article on Perl.com about automating MS Word! Your suggestion was exactly correct.

BTW, can you tell me where you learned that piece of information? Just curious. Also, thanks for the quick reply! I was coming back to say that I had figured it out but you had already responded.

-MC

Replies are listed 'Best First'.
Re^3: Win32::OLE and lvalue issue
by mercutio_viz (Scribe) on Jun 15, 2005 at 07:07 UTC

    FYI, my bad for not reading my books thoroughly!

    The poop on getting and setting properties is found (among other places) in Perl In A Nutshell in section 23.2. Sorry to bother...

    -Slightly Embarrassed Perl Initiate

Re^3: Win32::OLE and lvalue issue
by ikegami (Patriarch) on Jun 15, 2005 at 13:56 UTC
    can you tell me where you learned that piece of information?

    From the pod. It's not properly documented, but it's there under LetProperty:

    In Win32::OLE property assignment using the hash syntax is equivalent to the Visual Basic Set syntax (by reference assignment):

    $Object->{Property} = $OtherObject;

    corresponds to this Visual Basic statement:

    Set Object.Property = OtherObject