benlaw has asked for the wisdom of the Perl Monks concerning the following question:
perlmonk perlmonk perlmonk
i 'd like to count whether how many 'perlmonk' present in a line.
but if the text file change to
perl m onk p erlmonk per lm onk
is it possible too???
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: count words in a line
by tadman (Prior) on Jun 06, 2002 at 16:01 UTC | |
|
Re: count words in a line
by marvell (Pilgrim) on Jun 06, 2002 at 16:02 UTC | |
|
Re: count words in a line
by jmcnamara (Monsignor) on Jun 06, 2002 at 16:23 UTC | |
|
Re: count words in a line
by Aristotle (Chancellor) on Jun 06, 2002 at 19:42 UTC | |
|
Re: count words in a line
by Anonymous Monk on Jun 06, 2002 at 16:12 UTC |