Perl语言简介

Perl(Practical Extraction and Report Language,实用摘录与报表语言;或,Pathologically Eclectic Rubbish Lister,病态折中式垃圾列表器)是一种高级、通用、直译式、动态的程序语言。它是由拉里·沃尔(Larry Wall)在借鉴C、sed、awk、shell以及很多其他编程语言特性的基础上设计实现的。Perl最重要的特性在于它内部集成了正则表达式的功能,以及巨大的第三方代码库CPAN(Comprehensive Perl Archive Network,Per综合典藏网)。

当perl的第一个字母大写(Perl)时指的就是这个编程语言,无大写字母(perl)时则指实际编译并运行程序的解释器。

Perl语言的中心思想可以用一句话来表示:There’s More Than One Way To Do It.(条条大路通罗马。)缩写为:TMTOWTDI;读作:Tim Toady。Perl的另一个口号是:Easy things should be easy, and hard things should be possible.其他常见的座右铭或者标语还有:
There’s more than one way to do it, but sometimes consistency is not a bad thing either. (TIMTOWTDIBSCINABTE,”Tim Toady Bicarbonate”)
Perl: the Swiss Army Chainsaw of Programming Language.
No unnecessary limits.
The Duct Tape of the Internet.

Perl的官方吉祥物是羊驼;骆驼则是O’Reilly Media设计给Perl编程语言的图标(它也是一种黑客的象征)。

扩展阅读:维基百科