我有以下代码在 Perl 中打开浏览器
$IE = Win32::OLE->new("InternetExplorer.Application");
$IE->{visible} = 1; #BTW what is visible doing here?
$IE->Navigate("http://google.com");
# Now I want to close the current window, how would I do this?
我试过:
$IE->close();
和$IE->close;
没啥事儿。