- or download this
use strict;
my $excel = 'c:/Programs/Microsoft Office/Excel/excel.exe';
...
# with backslashes
system( $excel, $file ) == 0
or die "Couldn't start Excel: $^E / $! / $?";
- or download this
use strict;
my $file = "c:\\path\\to\\my test.xls";
# note that cmd.exe wants the filename delimited
# with backslashes
system( 'start', $file );
- or download this
use strict;
use Win32::OLE;
...
$excel->Open( $file );
# or so I believe. Use the Macro Recorder to find out
# what the function names are actually called