为了在centos 5.2 上使用 xisofs,其中perl的版本为:
# perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
利用cpan安装help这个模块时,
cpan> install help
提示:
Package contains both files[COPYING about.pm help.pm eltorito.pm install.pl VERSION status.pm files.pm defaults.pm cdwrite.pm INSTALL wcenter.pm dirs.pm xisofs.pl Bubble.pm dlg.pm selector.pm README HISTORY] and directories[large_icons misc_icons help]; not recognized as a perl package, giving up
这让人很郁闷.
于是手工安装吧,
# cd /root/.cpan/build/xisofs-1.3-soLiZe
修改 install.pl文件如下:
$libDir = "/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
安装完毕后,可以在perl脚本中直接使用use help了。
work, study, life ..........
Friday, April 3, 2009
Subscribe to:
Post Comments (Atom)

1 comment:
Perl is the best scripting language for Text processing and handle regex. I have posted few articles related to those at my blog
http://icfun.blogspot.com/search/label/perl
Also Perl's Cpan has lots of support that I don't even need to think extra while developing project. I didn't find such help on other programming language except Java and .NET
Post a Comment