in reply to Re^2: Extract and read different columns from the file
in thread Extract and read different columns from the file
with the line number as the hash table index
huh, why not just use an array?
my @a; while (<>) { chomp; my @rec = split; push @a, [ @rec[???, ???, ???] ]; }
i should store all the desired columns
You keep saying you only want certain columns, yet you don't say which. Again, just use the index of the columns you want for the question marks.
|
|---|