文件名称: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/
__MACOSX/._total_words.pl
__MACOSX/
__MACOSX/._total_words.pl
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.