in reply to Reading a text file and formatted printing

Beyond posting some example code as jlongino recommends so we can help you out, you also might want to check out perldoc perlform to get information on outputing the result after you've parsed it into two columns.