I have set of lines store in array, want to split using space as delimiter & capture the 2 & 5 column data in new array. Trying following code, but it is not working :-
my @table = push (split ( / /, @lines) ); my @table2 = $table[2,5] ; print @table2, "\n";
In reply to How to get the column from lines by taj_ritesh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |