in reply to Open viewable excel file

Hi bobdole,

Very easy to do -- just use the Windows "start" command:

use strict; use warnings; # Code to create Excel spreadsheet goes here # Spreadsheet will be in variable $fname # ... # Now open the spreadsheet open_spreadsheet($fname); sub open_spreadsheet { my ($fname) = @_; system("start Excel \"$fname\""); }

s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

Replies are listed 'Best First'.
Re^2: Open viewable excel file
by bobdole (Beadle) on Oct 19, 2007 at 22:44 UTC
    Awesome, thanks a lot. Knew it was probably something straightforward but couldn't find it for the life of me.