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;
何も起こらなかった。