use strict; use OLE; my $excel = CreateObject OLE "Excel.Application"; my $wrkbk = $excel -> Workbooks -> Open("C:/File.xls"); $excel -> {Visible} = 1;