develooper Front page | perl.beginners | Postings from January 2002

Re: Count Words

Thread Previous | Thread Next
From:
merlyn
Date:
January 23, 2002 07:17
Subject:
Re: Count Words
Message ID:
m1it9tumfk.fsf@halfdome.holdit.com
>>>>> "Booher" == Booher Timothy B 1stlt Afrl/Mnac <timothy.booher@eglin.af.mil> writes:

Booher> I am trying to write a perl script to count the words (not counting
Booher> duplicates) in a file based on the following definition of word:

Booher> "A word is any collection of characters seperated by white space or
Booher> punctuation characters such as {.!?,}"

This seems very homework-y to me.  Can we see some justification that
we're not solving your homework for you?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About