Re: Problem with with ParseExcel and file input

2006-02-17 Thread Xavier Noria
On Feb 17, 2006, at 11:14, Mike Martin wrote: Done that its fine I have even opened a FH a printed - also fine (apart from bin garbage of course) Just tried my $excel_file='literal file name'; print $excel_file; prints fine Of course it prints fine. What I want you to debug is the *exac

Re: Problem with with ParseExcel and file input

2006-02-17 Thread Mike Martin
On 2/16/06, Xavier Noria <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2006, at 18:35, Mike Martin wrote: > > > I have problems with reading in a file variable in > > Spreadsheet::Parsexcel. > > This is the relevant code. > > > > > > > > use strict; > > use warnings; > > > > open (INPUT,"tele1"); > > m

Re: Problem with with ParseExcel and file input

2006-02-16 Thread Xavier Noria
On Feb 16, 2006, at 18:35, Mike Martin wrote: I have problems with reading in a file variable in Spreadsheet::Parsexcel. This is the relevant code. use strict; use warnings; open (INPUT,"tele1"); my @input1=; If those are filenames it would be more robust to chomp them right here: c

Problem with with ParseExcel and file input

2006-02-16 Thread Mike Martin
I have problems with reading in a file variable in Spreadsheet::Parsexcel. This is the relevant code. use strict; use warnings; open (INPUT,"tele1"); my @input1=; foreach my $input1 (@input1){ my @out1=split (/\./,$input1); my $ext='.tab'; my $output1= "$out1[0]$ext"; open (OUT1,">>",$output1);