Help for this page
my $file = 'input2.txt'; print "baba baba baba baba TEXTFILE!!!\n\n\n" if -T $file; ... # If you still want to read it, open the file handle and enjoy open my $fh, '<', $file or die "Can't open $file to read: $!\n";