Why don't you just add $empid to your array, and then join them in a separate statement, like;
Michaelpush(@array, $empid); $string = join("\t", @array); print STDOUT "$string\n";
In reply to Re: Write array contents to csv file
by mtmcc
in thread Write array contents to csv file
by learner@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |