P is for Practical | |
PerlMonks |
How do I count the frequency of words in a file and save them for later?by ghenry (Vicar) |
on May 17, 2005 at 13:11 UTC ( [id://457784]=perlquestion: print w/replies, xml ) | Need Help?? |
ghenry has asked for the wisdom of the Perl Monks concerning the following question: You want to search a file for unique words, count them and print a summary, but also saving these results for later use. Using a simple database (a dbm file), you could do (adapted from Perl Cookbook, 2ed):
TIMTOWTDI however. Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|