while (<FILE>) { chomp; /\.$/ or print $_.".\n"; } [download]
In reply to Re: Adding periord to the end of line by fletcher_the_dog in thread Adding periord to the end of line by Anonymous Monk