What is the best way to find the total number of words in a text file in Java? I\'m thinking Perl is the best on finding things such as this. If this is true then calling a
While Perl can do this, I'd consider it overkill to link it in / call it for this kind of task (unless you already have that tested out).