dizzyd719 has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I was interested in the "win32::OLE" library and i see examples everywhere however I cannot find the library. I tried searchign the source code on cpan however it doesn't include what i'm looking for. all over the internet i see
my $word = CreateObject Win32::OLE 'Word.Application' or die $!; my $document = $word->Documents->Open($file);
but where do I see "documents" methods?

Replies are listed 'Best First'.
Re: How do I find out what methods are available in a library?
by Corion (Patriarch) on Dec 26, 2017 at 20:13 UTC
Re: How do I find out what methods are available in a library?
by Anonymous Monk on Dec 27, 2017 at 13:50 UTC
    OLE (Object Linking and Embedding™) is a proprietary Microsoft technology for exposing system services and installed applications in the form of objects which can either be directly-called or embedded (think HTML iframe ...). The technology includes techniques for discovering what objects are available on a particular system. Perl only provides the capability to reach the OLE system interface.