[oracle@dwh1 perl]$ cat 9.pl
open my ($fh),'<',"1.txt" or die;
foreach (<$fh>) {
chomp ($_);
print "$_";
};
[oracle@dwh1 perl]$ cat 1.txt
aaaaaaaa
bbbbbbbb
cccccccc
dddddddd
eeeeeeee
ffffffff
gggggggg
[oracle@dwh1 perl]$ perl 9.pl
aaaaaaaabbbbbbbbccccccccddddddddeeeeeeeeffffffffgggggggg[oracle@dwh1 perl]$