join函数数组
利用字符将数组中的元素分割开.ide
[root@localhost ~]# find `perl -e '@array=join( " ", "@INC");print "@array";'` -name *.pm|wc -l函数
547it
这个例子是利用空格分开了要查找的路径,而后find能够查找全部的路径下匹配*.pm的文件,我一共查到了547个模块.class