in reply to How to get the column from lines

What is this line supposed to do?

my @table = push (split ( / /, @lines) );

If you use warnings, Perl will tell you that this line makes little sense:

Useless use of push with no values at -e line 1.

Maybe you can explain what error message you get and how you have tried to address the error message?