天行健,君子以自强不息!
发布时间:2013-06-06 10:55:09
接上文:http://blog.chinaunix.net/blog/post/id/3560959.html七、CODE EXAMPLES【代码示例】Presented with little comment (these will get their own manpages someday) here are short code examples illustrating access of various types of data structures.1. ARRAYS OF ARRAYS【数组的数组】1.1 De.........【阅读全文】
发布时间:2013-04-26 18:04:29
perl中our的用法require 5.006当版本号小于 5.006 的时候,会返回失败,从而导致模块加载失败。所以它的作用就是保证模块调用环境的 Perl 版本。our 和 my 一样,都是对变量的声明,不过 our 声明的是包全局变量,而 my 声明的是词法变量。不过,经过 our 声明的变量,它会变得像一个词法变量一样,其实这也.........【阅读全文】
发布时间:2013-04-15 21:55:35
perldoc >>>http://perldoc.perl.org/functions/eval.htmldo 语句做了类似的功能:do 'filea' == eval `cat filea`;形式1.eval Expression2.eval BLOCK"1"在运行时编译和执行"2"在编译时编译,运行时执行因此,"1"编译多次,.........【阅读全文】
发布时间:2013-04-06 18:11:11
Perl正则表达式教程简介This page provides a basic tutorial on understanding, creating and using regular expressionsin Perl. It serves as a complement to the reference page on regular expressions perlre. Regular expressions are an integral part of the m//, s///, qr// and split operators and .........【阅读全文】