好几次, 别人问我会不会perl, 我都只能逃避这个问题. 看来在unix环境下做开发维护, perl还是必须学的.
perl不是新的编程语言,近年来涌出的python热潮,掩盖了不少perl的光辉.
perl 1.000
1969年Unix诞生于Bell实验室后, 1987年Perl首次发行, 以下是官方的信息:
1987
UUNET is founded with Usenix funds
to provide commercial UUCP and Usenet access. Originally an experiment
by Rick Adams and Mike O'Dell
Hmm, doubtful. The source code generally wasn't there
when I needed it.
-- Larry Wall when asked if he learned Perl from the perl source
Perl 1.000 is
unleashed upon
the world. Some People take Perls' Birthday seriously.
Behold as Randal sings
Happy Birthday to Larrys' answering machine. The description from the original man
page sums up this new language well. (18 December)
NAME
perl | Practical Extraction and Report Language
SYNOPSIS
perl [options] filename args
DESCRIPTION
Perl is a interpreted language optimized for scanning arbi-
trary text files, extracting information from those text
files, and printing reports based on that information. It's
also a good language for many system management tasks. The
language is intended to be practical (easy to use, effi-
cient, complete) rather than beautiful (tiny, elegant,
minimal). It combines (in the author's opinion, anyway)
some of the best features of C, sed, awk, and sh, so people
familiar with those languages should have little difficulty
with it. (Language historians will also note some vestiges
of csh, Pascal, and even BASIC|PLUS.) Expression syntax
corresponds quite closely to C expression syntax. If you
have a problem that would ordinarily use sed or awk or sh,
but it exceeds their capabilities or must run a little fas-
ter, and you don't want to write the silly thing in C, then
perl may be for you. There are also translators to turn
your sed and awk scripts into perl scripts. OK, enough
hype.
从perl名字的解释来看, 它就是为数据操作诞生的,看来perl是数据开发人士必学的工具了. 自己虽然也做数据开发,却从来没有接触过perl. 工作上倒是很少碰到,不过这几次的面试中却因为这个丢了分. 无论Unix 还是 DataBase的职位,都希望招一个额外熟悉perl的, perl的应用还真广泛.为了更好的工作,不得不学啊.
perl的代码不易读性是出了名的, 稍微看了下, 好像是有点.但我还是来了,头痛的perl, 今年把你解决掉!