in reply to OK... I am confused and lost :( Editing FlatFile
my @fields = qw(position institution dept etc); for my $rec (@records) { chomp $rec; my %old; @old(@fields} = split /\t/, $rec; if ($old{position} != $viewposition) { print join("\t", @old{@fields}),"\n"; } else { ... } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: OK... I am confused and lost :( Editing FlatFile
by LostS (Friar) on Aug 27, 2001 at 22:50 UTC |