little samie

sub IEQuit { #$popup

Description: Closes the Internet Explorer Window

How To:

Call this subroutine in order to close the active window.

Example:

IEQuit()

Cookbook recipe

use Win32::OLE;
use Win32::SAM;
#use Win32::Slingshot;

$| = 1;
my $URL = "http://www.yahoo.com";
my $seconds;

$Win32::OLE::Warn = 3;

StartIE();
$seconds = Navigate($URL);
print "$URL took $seconds seconds to load\n";
IEQuit();

Further Notes:

The second parameter $popup is optional. It tells samie to close the popup window.

little samie