in reply to Re: accessing data inside HASH(0x225b94)
in thread accessing data inside HASH(0x225b94)

Thanks for the help.

But after executing this code I am getting the following error:

Win32::OLE(0.1707): GetOleEnumObject() Not a Win32::OLE::Enum object at C:/Perl/lib/Win32/OLE/Lite.pm line 167.
  • Comment on Re^2: accessing data inside HASH(0x225b94)

Replies are listed 'Best First'.
Re^3: accessing data inside HASH(0x225b94)
by nikosv (Deacon) on Feb 13, 2008 at 19:45 UTC
    Apologies.I have not read the module's documentation and made an incorrect assumption.The docs say that 'getAgent() will return a reference to the Internet Explorer automation object, created using Win32::OLE' so what you expect in return is an object reference which you manipulate as in :
    $ie1=$ie->getAgent(); $ie1->gotoURL('http://www.google.com');