Re: Parsing repetitive lines

2012-05-03 Thread Jim Gibson
In addition to what Shlomi has mentioned, I will add: On May 3, 2012, at 4:34 AM, venkates wrote: > sub parse { > >my $pazar_file_path = shift; >my $pazar_data; # ref to a hash holding the parsed data > >open FH, '<', $pazar_file_path or croak ( "Cannot open file > '$pazar_file_pat

Re: Parsing repetitive lines

2012-05-03 Thread Shlomi Fish
Hi Aravind, On Thu, 03 May 2012 13:34:35 +0200 venkates wrote: > Hi all, > > I am trying to parse a tab-delimited file which has repeating lines. > This is causing problems while parsing it to the data structure (see > below). I would appreciate if you could help me solve this. > If your f

Parsing repetitive lines

2012-05-03 Thread venkates
Hi all, I am trying to parse a tab-delimited file which has repeating lines. This is causing problems while parsing it to the data structure (see below). I would appreciate if you could help me solve this. Thanks, Aravind sub parse { my $pazar_file_path = shift; my $pazar_data; #