|
Hi,
i just downloaded "Win32-IEAutomation" package under c:\Perl\lib and c:\perl\lib\cpan. I have a small program :
use Win32::IEAutomation;
# Creating new instance of Internet Explorer
my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1);
# Site navigation
$ie->gotoURL('http://www.google.com');
I get the error message "Can't locate Win32/IEAutomation.pm in @INC (@INC contains: C:/Per
ite/lib .)". Please let me know what I'm missing. Do i install the package in the right folder? If I run the another program
use Win32::OLE ;
use strict;
my $url = "http://www.yahoo.com";
my $ie = Win32::OLE->new("InternetExplorer.Application")
|| die "Could not start Internet Explorer.Application\n";
$ie-> Navigate("$url");
It runs as expected.
Thanks
Apple
|