![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
perl
文章平均质量分 58
iteye_13882
这个作者很懒,什么都没留下…
展开
-
perl the three dot operator
In my previous post, I discussed the range operator in the scalar context, here we are further to discuss on operator tha is quite unique in the Perl programming lanaugae, that is the three dot operat...原创 2012-07-06 11:52:59 · 81 阅读 · 0 评论 -
perl - REPL perl
Perl unlike its successor, it does not natively has hte REPL (READ, Evaluate, Print, Loop) interface to perl . so it does not suppport something like in Python where you can type something or getting...原创 2012-09-14 10:03:47 · 136 阅读 · 0 评论 -
perl - a simple task exerice, split and loop
it is a very simple task to exercise your understanding of the perl language. the issue is like this : $ cat test.txt a,1,x,A,B,C b,2,y,D c,3,z,E,F and you want to display t...原创 2012-09-21 16:09:34 · 106 阅读 · 0 评论 -
Perl range operator on Scala Context
# file: # range_operator.pl # description: # this file is the test file to show how to use the range operator in PERL # # conclusion: # the state transition of the .. operator is as suc...2012-05-30 17:47:33 · 110 阅读 · 0 评论 -
perl usage of bare blocks, example 1
# file: # bare_blocks.pl # description: # this is the file to test semantic of bare blocks # # conclusion: # bare blocks is like a loop which execute only once # you can use last;next...原创 2012-05-30 18:03:50 · 101 阅读 · 0 评论 -
Pass Filehandle and scope
See the code sample below. sub main { useFH(createFH($p)); } sub createFH($) { print "Debug, opening ${_[0]}\n"; # it will be an error if you have the file handler as #...2012-05-31 14:54:23 · 96 阅读 · 0 评论