in reply to Need a help for perl coding

I'm not understanding the problem, but read about: perl regexes and split or print $F[X] where X is the number of the desired column minus one. (i.e: print "$F[0], $F[4]"; prints the first and fifth columns)