Assuming an array @fieldname,
print join("\t",@fieldname);
Update: I should probably add that your C-style for loop is very ugly in Perl. Have a look at the functions for, foreach, while in perldoc. :)
--
Allolex
In reply to Re: print datafields separated by tab
by allolex
in thread print datafields separated by tab
by bandya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |