Re: Generate a perl list file

2004-10-25 Thread rs
> > Dear all. > > I have a tab delimited file as follow: > > V namep > 1.0 AAA 0.001 > 0.9 BBB 0.003 > 0.8 CCC 0.004 > . > > I need to convert the file into following format: > { labels = > ( > {v="1.0"; name = "AAA"; p = "0.001"; }, >

Re: Generate a perl list file

2004-10-19 Thread John W. Krahn
[ Please do not top-post. TIA ] [ Please TRIM your posts. TIA ] [ Please don't reply to a previous post unless you are contributing to that thread. TIA ] Li, Aiguo (NIH/NCI) wrote: Dear all. Hello, I have a tab delimited file as follow: V namep 1.0 AAA 0.001 0.9 BBB

Re: Generate a perl list file

2004-10-19 Thread JupiterHost.Net
I have not been able to make the following code work yet and would like to hear your suggestion for a better option. The following is my thought at this point. Use strict and warnings :) print "{ labels =\n"; print "\t\t (\n"; open IN "tag.txt"; That shoudl error out because there;s no