Keep It Simple, Stupid | |
PerlMonks |
Extracting selected column names and values from tab delimited text fileby Ratna_Ranjan (Novice) |
on Oct 21, 2009 at 21:26 UTC ( [id://802539]=perlquestion: print w/replies, xml ) | Need Help?? |
Ratna_Ranjan has asked for the wisdom of the Perl Monks concerning the following question:
I have a tab delimited text file which is of format
I have an array which has a list of columnnames such as @colname={colname1,colname3}; Now I want the colnames and values from the file which matches the names in the array. So that my final output is of the format Any suggestion on how to go about achieving this?
Back to
Seekers of Perl Wisdom
|
|