use OLE; use Win32::OLE; my($xapp) = CreateObject OLE 'Excel.Application' || die $!; $xapp->{'Visible'} = 0;