Posted on 2009-01-29 23:22:10-08 by apple
getting the error when using
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
Direct Responses: 9838 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.