Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: remove last column of tab-delimited fileby kroach (Pilgrim) |
on Jul 22, 2016 at 17:57 UTC ( [id://1168380]=note: print w/replies, xml ) | Need Help?? |
You can remove the last element of @header_for_table1 before reading the rest of $table1. This way, when you assign split to the hash slice of %row, the last element will be ignored.
In Section
Seekers of Perl Wisdom
|
|