Perl split function - process every word in a file
Problem: You're developing a Perl program, and you need to process ("do something with") every word in a text file within your program.
Solution: How you achieve this in the end depends on your meaning of "every word", but I'm going to go with a very simple definition, where I can use the Perl split
function to break up each "word" that is surrounded by whitespace characters.