Page 1 of 1

Perl Modules Installation - Newbie question

PostPosted: 28. December 2006 10:20
by kk2die4
Hi All,
How do install a perl module like say, DBI that I download from CPAN
into the XAMPP (windows XP ) installation of perl ?

Any responses will be much appreciated.

Thanks

Re: Perl Modules Installation - Newbie question

PostPosted: 28. December 2006 10:28
by Izzy
kk2die4 wrote:Hi All,
How do install a perl module like say, DBI that I download from CPAN
into the XAMPP (windows XP ) installation of perl ?

Any responses will be much appreciated.

Thanks

Download and install the full perl addon located here:
http://www.apachefriends.org/en/xampp-windows.html#644

It already has most perl modules, including DBI.pm already included.

Much better choice in my opinion than messing with the weak light version included in XAMPP's default installation.

Follow the easy installation instructions in the readme file and you will be set to go in no time.

PostPosted: 28. December 2006 10:46
by deepsurfer
which DBI:: File you have downloaded ?

Most certificated DBI:: Modules are in the XAMPP-PERL Addon
Code: Select all
DBI
DBI::Const::GetInfo::ANSI
DBI::Const::GetInfo::ODBC
DBI::Const::GetInfoReturn
DBI::Const::GetInfoType
DBI::DBD
DBI::DBD::Metadata
DBI::FAQ
DBI::Profile
DBI::ProfileData
DBI::ProfileDumper
DBI::ProfileDumper::Apache
DBI::ProxyServer
DBI::SQL::Nano

PostPosted: 28. December 2006 11:21
by kk2die4
I already have the full perl add on.

Actually, the module URI::Escape was not working. I am new to perl
on windows. I want to be able to do Mason or any other module I might need in the future. So I wanted to learn how to add modules to this
installation.

PostPosted: 28. December 2006 11:39
by Izzy
kk2die4 wrote:I already have the full perl add on.

Actually, the module URI::Escape was not working. I am new to perl
on windows. I want to be able to do Mason or any other module I might need in the future. So I wanted to learn how to add modules to this
installation.

http://www.cpan.org/modules/INSTALL.html

For reference XAMPP uses ActiveState's Perl in their addon.

Usually you only need to download the module and unpack it in to the xampp\perl\lib directory.

http://www.google.com/search?q=how-to+i ... pan+module

PostPosted: 28. December 2006 14:47
by kk2die4
Cool. I will try that. Thank you.