简体   繁体   English

PERL 5.8.4安装DBI模块

[英]PERL 5.8.4 Installing DBI Module

I am working on Perl "This is perl, v5.8.4 built for Win32" version. 我正在使用Perl“这是为Win32构建的perl v5.8.4”版本。 How to install DBI Module in it ? 如何在其中安装DBI模块? I couldnt find any ppm.bat unlike Perl 5.12.3 . 与Perl 5.12.3不同,我找不到任何ppm.bat。

Use CPAN module/command-line utility to interface to CPAN repository of modules. 使用CPAN模块/命令行实用程序连接到CPAN模块存储库。 Building and installing DBI will require having compiler on your system though. 但是,构建和安装DBI将需要在系统上具有编译器。 This could be not a problem if you got it along with your Perl, that seems to be not ActiveState distribution, but also might prove to be even more difficult if you're don't have it and not familiar with installing dev-tools on Win32. 如果您将Perl与Perl一起使用,这似乎不是ActiveState发行版,那么这可能不是问题,但是如果您没有Perl,并且不熟悉在其上安装dev-tools,这可能会变得更加困难。 Win32的。

For a start just try cpan -i DBI in command line. 首先,请在命令行中尝试cpan -i DBI

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM