文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Perl模块的安装

Perl模块的安装

时间:2009-01-15  来源:r_a

检查perl模块:
# perl -e 'use Curses'
# perl -e 'use DBI'
# perl -e 'use DBD::mysql'
  没有输出就是模块已经安装了,有错误就是相应的模块没有安装。   除以源码安装之后,还可以用perl提供的工具自动安装:  

CPAN installation

Installation of DBD::mysql can be incredibly easy:

 cpan install DBD::mysql

If you are using the CPAN module for the first time, just answer the questions by accepting the defaults which are fine in most cases. If you are using an older version of Perl, you might instead need a

 perl -MCPAN -e shell install DBD::mysql

If you cannot get the CPAN module working, you might try manual installation. If installation with CPAN fails because the your local settings have been guessed wrong, you need to ensure MySQL's mysql_config is on your path (see SOURCE INSTALLATION) or alternatively create a script called mysql_config. This is described in more details later. Configuration

http://cpansearch.perl.org/src/CAPTTOFU/DBD-mysql-4.010/INSTALL.html#red_hat_linux

 
相关阅读 更多 +
排行榜 更多 +
别惹神枪手安卓版

别惹神枪手安卓版

冒险解谜 下载
坦克战争世界

坦克战争世界

模拟经营 下载
丛林反击战

丛林反击战

飞行射击 下载