摘要: 1, 去掉引号 $a=~s/"//g; 2 去前四个字符 substr($product,0,4) 多行注释: 最常用的方法是使用 POD(Plain Old Documentations) 来进行多行注释。方法如下: =pod codes to comment =cut sed -i '/^[0- 阅读全文
posted @ 2017-03-30 14:06 白鸟li 阅读(125) 评论(0) 推荐(0) 编辑
摘要: open READ,"<","G:/project-xiaomai/yourfile.txt"; readline READ; # skip the first line while (<READ>) { print $_; } close READ; 阅读全文
posted @ 2017-03-30 11:41 白鸟li 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-30 11:38 白鸟li 阅读(218) 评论(0) 推荐(0) 编辑