Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PERL 5.8.4 Installing DBI Module

Tags:

perl

dbi

I am working on Perl "This is perl, v5.8.4 built for Win32" version. How to install DBI Module in it ? I couldnt find any ppm.bat unlike Perl 5.12.3 .

like image 622
user762421 Avatar asked Jan 15 '23 16:01

user762421


1 Answers

Use CPAN module/command-line utility to interface to CPAN repository of modules. Building and installing DBI will require having compiler on your system though. 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.

For a start just try cpan -i DBI in command line.

If you somehow don't have access to shell/command startup file, you can also run CPAN module in interactive mode and install DBI from there:

perl -MCPAN -e shell
install DBI
like image 147
Oleg V. Volkov Avatar answered Jan 22 '23 14:01

Oleg V. Volkov