my $filename = while (my $row = <$filename>) { chomp $row; print "$row\n"; }