in reply to Re^4: Parse one fiile, send the records to two different files
in thread Parse one file, send the records to two different files
meh... I think the problem is with how we're using join(). I overlooked the fact that its second parameter should be the list. Try the following (note that you may still need to use chomp() on the array as mentioned in Re^5: Parse one fiile, send the records to two different files):
print $ERR_FH join(',', @fields);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Parse one fiile, send the records to two different files
by BigRedEO (Acolyte) on May 27, 2016 at 18:51 UTC | |
by stevieb (Canon) on May 27, 2016 at 18:58 UTC | |
by poj (Abbot) on May 27, 2016 at 19:00 UTC | |
by stevieb (Canon) on May 27, 2016 at 19:01 UTC | |
by BigRedEO (Acolyte) on May 31, 2016 at 20:17 UTC |