Perl笔记

Saturday, July 29, 2006

PXPerl:又一个win32的perl实现

搜来搜去,找到这么一个好东西:PXPerl

PXPerl是一个针对win32平台的perl实现,目前版本是5.8.7-6。内容包括:perl-5.8.7*(intel的编译器编译的,应该更快吧?),众多的CPAN模块(据称不比ActivePerl少),还前瞻性的加入了pugs、parrot(一切为了perl6),以及一个编辑器(SciTE)(,事实上还有nmake,微软白送的)。

可惜,似乎目前PXPerl还不支持ppm之类的二进制模块包,最好要有本地的编译器,比如MinGW,nmake,或者是Intel C++ compiler。不过想在Perl6里游泳的人可以先在这里练习一下水性。

如果说perl的源代码是随机字符的话

Python's syntax succeeds in combining the mistakes of Lisp and Fortran.
I do not construe that as progress. -- Larry Wall, May 12 2004


Frankly, I'd rather not try to compete with Perl in the areas where Perl is
best -- it 's a battle that 's impossible to win, and I don't think it is a
good idea to strive for the number of obscure options and shortcuts that Perl
has acquired through the years. -- Guido van Rossum, 7 Jul 1992

Catch me if you can...

发信人: crazycool (上), 信区: Python
标 题: Re: 请问什么情况下用Python而不用C++?
发信站: 水木社区 (Sat Jul 29 19:32:47 2006), 转信

Python:
if you(can)*:
    catch (me)

C:
if (you(can)) catch (me);

Perl:
catch me if you can;

【 在 cnsky (做人要厚道) 的大作中提到: 】
: 相比之下还是比较喜欢PYTHON,
: perl写的东东阅读困难.
: 可能是因为我用C用的不多
: ...................

*应该为if you.can():