Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Your questions cover a very wide range of concerns, from basic Perl syntax to some quite complex issues of the interface between perl and Windows/Office. While I have used Win32::OLE, I have never used it to access office documents, so I can't give you much advice on your primary objective.

It will serve you well to study an introduction to Perl programming, to learn basic syntax, data structures, etc. This will help you with questions like "What does those "::" and "->" in code above stands for ?", "why curly braces ?", etc. There are some excellent tutorials and references in Getting Started with Perl. It will be difficult for you to understand the code you see and reliably deal with objects, variants (Win32::OLE::Variant) and data structures until you have learned the basics.

While I found much of the documentation available on MSDN difficult to unhelpful, the script examples I found very helpful. When I was doing it regularly, I was able to translate VBScript examples to Perl quite reliably. And the MSDN docs did at least identify many of the methods and attributes of the COM objects. My usual route to success was to hunt through MSDN for objects, methods and attributes that looked interesting, then google for examples of them being used to see how they worked.


In reply to Re: win32 OLE in deeper details by ig
in thread win32 OLE in deeper details by wakatana

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found