Hello, I just a new Perl user. I have a question regarding the variables handleing.
I have a tab dlm text file. the format of the file looks like below: (it may contants about more than 1000 columns in the file)
ID name ...... age ........
1 a ......18 .....
2 b ...... 26 .....
I need extract the values for variable ID and age, then generate a new txt file with the two variables' information only. The variable age may locate at any column. So, how should I do?
Thanks a lot
dd sf
I have a tab dlm text file. the format of the file looks like below: (it may contants about more than 1000 columns in the file)
ID name ...... age ........
1 a ......18 .....
2 b ...... 26 .....
I need extract the values for variable ID and age, then generate a new txt file with the two variables' information only. The variable age may locate at any column. So, how should I do?
Thanks a lot
dd sf
Comment