in reply to Re: Getting Win32::IE::Mechanize to wait for responses
in thread Getting Win32::IE::Mechanize to wait for responses

Hi, This is my first post at perlmonks.com - if I'm in the wrong place let me know. I have two questions? When I create an object with

$IE = Win32::OLE->new('InternetExplorer.Application');

What is retunred to $IE?(Question 1) From the syntax used in other progrmas it looks like a reference to a hash. But when I try and dereference it and print out the key values nothing is ouput to my terminal.

while( ($key, $value) = each %$IE ) { print "$key => $value\n"; }

Also, is there any perl specific documentation for this object?(Question 2) Thanks!
  • Comment on Re^2: Getting Win32::IE::Mechanize to wait for responses

Replies are listed 'Best First'.
Re^3: Getting Win32::IE::Mechanize to wait for responses
by Corion (Patriarch) on Mar 11, 2005 at 20:30 UTC

    Hello and welcome, allenaaker!

    In principle, there is nothing wrong with posting here, but it is better to start a question at Seekers of Perl Wisdom, as then many more people will see it.

    To your two questions:

    1. The object returned into $IE is a special object that tries to behave mostly like a normal Perl object, but in fact, it is some magical C object that cannot really be inspected. It interfaces to the InternetExplorer.Application object of Windows resp. the Internet Explorer browser.

    2. To find information about the InternetExplorer.Application, see the documentation by Microsoft. There is no Perl specific documentation, but it is not hard to translate the examples in VB into Perl.