in reply to Re: Perl Destroys Interview Question
in thread Perl Destroys Interview Question
Your solution also breaks down if there is punctuation in the file. (OS HP-UX 11.0)
File
This is a test file. How many unique words are in this file? Do you know? Does the file contain more than ten words?
Results
1 1 a 1 are 1 contain 1 do 1 does 1 file 1 file. 1 file? 1 how 1 in 1 is 1 know? 1 many 1 more 1 ten 1 test 1 than 1 the 2 this 1 unique 1 words 1 words? 1 you
Update: Changed the test file.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Perl Destroys Interview Question
by redsquirrel (Hermit) on Jan 13, 2004 at 20:00 UTC | |
by mr_mischief (Monsignor) on Jan 13, 2004 at 22:51 UTC | |
by ihb (Deacon) on Apr 11, 2004 at 23:33 UTC | |
by mr_mischief (Monsignor) on May 03, 2004 at 18:01 UTC | |
Re: Perl Destroys Interview Question
by Abigail-II (Bishop) on Jan 13, 2004 at 16:59 UTC |
In Section
Meditations