|Perl: the Markov chain saw|
Newbie seeking help.by Anonymous Monk
|on Apr 19, 2001 at 21:51 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I have a few programs that I have been struggling with, any help/examples would be appreciated.
1. write a perl program that detects and eliminates double words like "Paris in the the spring". The problem is that ANY word can appear as a double word so you can't have a list of "possiblities" and just check if the next word is also the same.
2. write a perl program that removes html from a webpage (instructions delimited by <...>). Just output the page without the embedded html.
3. Write a perl program that checks an email file. Which pair of people emailed each other the most?
4. write a perl program that determines the 5 oldest files if given a directory listing.
2001-04-20 Edit by Corion : Added formatting