2007年9月29日 星期六

Perl 5.9.5

編了 Perl5.9.5 ,這是 Development Version ,Sourcecode 可在 CPAN 上下載 ,See the Announcement 。步驟可參考 INSTALL 以及 README 檔。

$ sh Configure
$ make
$ make install


Configure 可加上參數 -d 以預設值編譯。可下

$ sh Configure -d -Dprefix=/usr -Dusedevel

如此即可。不過得注意的是:
It may seem obvious, but Perl is useful only when users can easily
find it. It's often a good idea to have both /usr/bin/perl and
/usr/local/bin/perl be symlinks to the actual binary. Be especially
careful, however, not to overwrite a version of perl supplied by your vendor unless you are sure you know what you are doing.
參考看看 Perl 5.9.5 有哪些新東西 ( perldelta - what is new for perl v5.9.5 ),