文件名称:total_words.pl
介绍说明--下载内容均来自于网络,请自行研究使用
Write a Perl scr ipt total_words.pl which counts the total number of words found on i ts input (STDIN).
For the purposes of this program and the following programs we will define a word to be maximal non-empty contiguous sequences of alphabetic characters ([a-zA-Z]).
Any characters other than [a-zA-Z] separate words.
So for example the phrase The soul s desire contains 4 words: ( The , soul , s , desire )-Write a Perl scr ipt total_words.pl which counts the total number of words found on in its input (STDIN).
For the purposes of this program and the following programs we will define a word to be maximal non-empty contiguous sequences of alphabetic characters ([a-zA-Z]).
Any characters other than [a-zA-Z] separate words.
So for example the phrase The soul s desire contains 4 words: ( The , soul , s , desire )
For the purposes of this program and the following programs we will define a word to be maximal non-empty contiguous sequences of alphabetic characters ([a-zA-Z]).
Any characters other than [a-zA-Z] separate words.
So for example the phrase The soul s desire contains 4 words: ( The , soul , s , desire )-Write a Perl scr ipt total_words.pl which counts the total number of words found on in its input (STDIN).
For the purposes of this program and the following programs we will define a word to be maximal non-empty contiguous sequences of alphabetic characters ([a-zA-Z]).
Any characters other than [a-zA-Z] separate words.
So for example the phrase The soul s desire contains 4 words: ( The , soul , s , desire )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
total_words.pl
__MACOSX
........\._total_words.pl