in reply to Adding periord to the end of line

Assuming you have already opened FILE to the file in question.
while (<FILE>) { chomp; next if(m/\.$/); print "$_.\n"; }

Dingus


Enter any 47-digit prime number to continue.