in reply to Print format not working
Tip #1 from the Basic debugging checklist: Use warnings and you will see warning messages.
Also, chomp $column.
You should also use strict, in which case you'll need to declare each variable with my.
Declaring the text_lines as my @text_lines & chomping column worked !!!