![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Perl
文章平均质量分 80
merlincoy
来碗番茄汤
展开
-
Perl DBI模块的例子
Perl DBI Examples Contents Basics Connecting to the database Options Issuing SQL Intermediate SELECT statements Advanced Transactions Notes Other Reso转载 2008-07-22 16:32:00 · 492 阅读 · 0 评论 -
grep 函数
grep函数 (如果你是个Perl的新手,你可以先跳过下面的两段,直接到 Grep vs.loops 样例这一部分,放心,在后面你还会遇到它) grep BLOCK LISTgrep EXPR, LISTgrep 函数会根据 LIST 中的元素对 BLOCK 或 EXPR 做出评估,而且会把局部变量 $_ 设置为当前所用的 LIST 中的元素。BLOCK 块是一个或多个由花括号分转载 2008-07-23 18:03:00 · 778 阅读 · 0 评论