Re: Extracting Columns from tab delimited files

2013-02-11 Thread Tiago Hori
Thanks, Jim. This awesome! T. Sent from my iPhone On 2013-02-11, at 11:49 AM, Jim Gibson wrote: > > On Feb 10, 2013, at 5:57 PM, Tiago Hori wrote: > >> Hi All, >> >> I am trying to force myself to not use one of perl's modules to parse tab >> delimited files (like TXT::CSV), so please be p

Re: Extracting Columns from tab delimited files

2013-02-11 Thread Jim Gibson
On Feb 10, 2013, at 5:57 PM, Tiago Hori wrote: > Hi All, > > I am trying to force myself to not use one of perl's modules to parse tab > delimited files (like TXT::CSV), so please be patient and don't tell me > just to go and use them. I am trying to re-ivent the wheel, so to speak, > because as

Re: Extracting Columns from tab delimited files

2013-02-10 Thread timothy adigun
Hi Hori, Please check below for my comments on your code. On 11 Feb 2013 03:00, "Tiago Hori" wrote: > > Hi All, > > I am trying to force myself to not use one of perl's modules to parse tab > delimited files (like TXT::CSV), so Are you referring to module Text::CSV and it's cousin Text::CSV_XS? pl

Extracting Columns from tab delimited files

2013-02-10 Thread Tiago Hori
Hi All, I am trying to force myself to not use one of perl's modules to parse tab delimited files (like TXT::CSV), so please be patient and don't tell me just to go and use them. I am trying to re-ivent the wheel, so to speak, because as we do with science, we repeat experiments to lean about the

Re: extracting columns

2005-05-18 Thread Aditi Gupta
Thanks eveybody.. Knowing how to debug programs will always help. And i'm sorry for not formatting the program according to standard conventions.. i'll do that in future. thanks Thomas for the help:-) On 5/18/05, Ankur Gupta <[EMAIL PROTECTED]> wrote: > > From: Aditi Gupta [mailto:[EMAIL PROTE

RE: extracting columns

2005-05-17 Thread Thomas Bätzler
Aditi Gupta <[EMAIL PROTECTED]> wrote: > to extract data columnwise from a file, the following code > was written with the help of perl experts of this list. the > script is as follows: > #!usr/bin/perl > use warnings; use strict; > my %hash; > > $file= "try.txt"; > > open (FH, $file) or di

Re: extracting columns

2005-05-17 Thread Xavier Noria
On May 18, 2005, at 8:03, Aditi Gupta wrote: for (my $j=0; $j<$x; $x++) The last one would surely be $j++. the code isn't giving any errors but it also isn't printing the result as well. Please someone tell me why is this happeining.. Please, next time format your code using standard conventions,

RE: extracting columns

2005-05-17 Thread Ankur Gupta
From: Aditi Gupta [mailto:[EMAIL PROTECTED] > Hi everybody, > to extract data columnwise from a file, the following code > was written with the help of perl experts of this list. the > script is as follows: > > -- > -

extracting columns

2005-05-17 Thread Aditi Gupta
Hi everybody, to extract data columnwise from a file, the following code was written with the help of perl experts of this list. the script is as follows: #!usr/bin/perl u