
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 · 122 阅读 · 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 · 161 阅读 · 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.txta,1,x,A,B,Cb,2,y,Dc,3,z,E,F and you want to display t...原创 2012-09-21 16:09:34 · 140 阅读 · 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 · 152 阅读 · 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 · 135 阅读 · 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 · 125 阅读 · 0 评论