
Perl
文章平均质量分 62
xiaopinxp
这个作者很懒,什么都没留下…
展开
-
Perl正则表达式
1 正则表达式的三种形式首先我们应该知道 Perl 程序中,正则表达式有三种存在形式,他们分别是:匹配:m/<regexp>/ (还可以简写为 /<regexp>/ ,略去 m)替换:s/<pattern>/<replacement>/转化:tr/<pattern>/<replacemnt>/这三种形式一般都和...原创 2010-08-10 14:02:23 · 634 阅读 · 0 评论 -
PERL5中文教程
PERL5中文教程下载原创 2010-08-10 14:04:59 · 238 阅读 · 0 评论 -
perl点滴知识
1.实现lpad函数#append with blank before the strsub lpad{ my $str = shift; my $length= shift; $str=" ".$str until ($length-- == 0) ; return $str;} 2.实现trim函数#trim, remove blank from the start an...原创 2010-08-24 14:10:36 · 119 阅读 · 0 评论