Hii everybody!! I am a new user of Perl. I have a small problem here:
I have got a tab delimited text file containing a list of chemicals and their properties. Now I would like to create a new column where the program should first scan the whole file and then it will write new properties in a new column.
File name: chem.txt
Chem name react
and so on..
Now I would like the script to read the whole file and if it finds 'gbk' in file, then it creates a new column here and writes 'red'.
Chem name react Property
gbk 47 red
Much appreciated if you could help me..(I have attached the example text file also)
Thanks a lot..