in reply to Re: segregating data from one file to many files
in thread segregating data from one file to many files
i tried replacing it with tab,print FILE join (" ", @$col), "\n";
It works fine. But i am sorry to say this so late, that the last column "desc" is sometimes more than one word. So, its like a sentence "desc not found". Moreover, in my original input text file, the columns are separated by "Tab". In this case, when i join the @$cols with \t, the "desc not found" is printed separated with tabs instead of a single space. Since only the last column is prone to have a sentence kind of data in it, the rest of the columns are perfectly alright except for the last column. How do i over come this problem? Please help. Thank you once again :)print FILE join ("\t", @$col), "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: segregating data from one file to many files
by dwm042 (Priest) on May 11, 2009 at 21:53 UTC |