in reply to Re: Opening Excel from CGI Program
in thread Opening Excel from CGI Program

open(NEWFILE,"</tmp/$filename"); print <NEWFILE>; close(NEWFILE);

You're printing to a filehandle you've opened for reading.

Look again. The code is reading from NEWFILE and writing to STDOUT.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg