2015年9月15日
摘要: 在寻找k_word时,为了去打末尾的换行符,使用chomp;但 在windows下创建的的文件,读取一行,如一行为 weather 把它赋值为$str,然后print length($str),得到8;chomp $str; print length($str) 得到7 同样在linux创建同样的文 阅读全文
posted @ 2015-09-15 10:41 cjbourne 阅读(566) 评论(0) 推荐(0)