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);
In reply to Re^5: Parse one fiile, send the records to two different files
by stevieb
in thread Parse one file, send the records to two different files
by BigRedEO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |