摘要: 最近写的一个perl程序,通过关键词匹配统计其出现的频率,让人领略到perl正则表达式的强大,程序如下:#!/usr/bin/perluse strict;my (%hash,%hash1,@array);while(){ s/\r\n//; my $line; if(/-... 阅读全文
posted @ 2015-06-23 08:59 iVictor 阅读(662) 评论(0) 推荐(0) 编辑