in reply to Can't open SECOND input file given as script parameter ?
Are you sure your code isn't failing here? That is, it cannot open the file 'results' and claims it cannot open $file2?open OUTFILE, "results" or die "\nCan't open $file2 for reading: $!\n" +;
Note also that you open this file for reading, not writing (and you try to print to it, so you need it open for writing).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't open SECOND input file given as script parameter ?
by gyre007 (Novice) on Oct 03, 2008 at 09:28 UTC | |
by psini (Deacon) on Oct 03, 2008 at 09:35 UTC |