Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Win32::OLE and lvalue issue

by mercutio_viz (Scribe)
on Jun 15, 2005 at 06:54 UTC ( [id://466816]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://466816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-25 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found