Re: Error check help

2010-06-16 Thread Aravind Venkatesan
Thanks a lot for your suggestions, it helped me a lot!! :) Aravind On 06/16/2010 05:14 PM, Jim Gibson wrote: At 4:30 PM +0200 6/16/10, Aravind Venkatesan wrote: Hi everyone, I have written a code that takes in two files (containing a set of terms) as arguments eg: testfile1 CCO:P056

Re: Error check help

2010-06-16 Thread Jim Gibson
At 4:30 PM +0200 6/16/10, Aravind Venkatesan wrote: Hi everyone, I have written a code that takes in two files (containing a set of terms) as arguments eg: testfile1 CCO:P056cell cycle CCO:U002cell-cycle process CCO:P308cell cycle process CCO:P004regulation of

Re: Error check help

2010-06-16 Thread Chas. Owens
On Wed, Jun 16, 2010 at 10:30, Aravind Venkatesan wrote: > Hi everyone, snip snip > # Takes in first argument > my $input_file1 = $_; > open (FILEONE, $input_file1); > > my @list1 = ; snip This does not work. $_ does not hold the first arguent. You mean to say my $input_file1 = shift; or my

Error check help

2010-06-16 Thread Aravind Venkatesan
Hi everyone, I have written a code that takes in two files (containing a set of terms) as arguments eg: testfile1 CCO:P056cell cycle CCO:U002cell-cycle process CCO:P308cell cycle process CCO:P004regulation of progression through cell cycle CCO:P005cell