Perl: After Chomping a string, it does not print the string's value
问题 So I am currently trying to write a perl script that reads to a file and writes to another. Currently, the problem that I have been having is removing new line characters from parsed rows.I feed in a file like this BetteDavisFilms.txt 1. Wicked Stepmother (1989) as Miranda A couple comes home from vacation to find that their grandfather has … 2. Directed By William Wyler (1988) as Herself During the Golden Age of Hollywood, William Wyler was one of the … 3. Whales of August, The (1987) as