Hi, All Perl gurus:
It seems to be a trivial question, but I'm still learning perl syntax... Here is the question: try to parse each line of the file, chomp it (get rid of \n), and check to see if this line ending with period ("."), if yes, do nothing; if not, adding period and newline (".\n") to the end and print it out.
However, I cannot get the syntax correct.
Any help is appreciated.