Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows ActivePerl and mySQL

Status
Not open for further replies.

DazzerTperl

Programmer
Joined
Nov 1, 2006
Messages
7
Location
GB
Previously I've used ActivePerl on Linux where the modules came installed I recall.
The MySQL site says I have to install DBI and DBD for perl to talk to the mysql server. But there seems to be DBI and DBD already in the bin from the default ActivePerl install.
So first, do I need to install extra modules? Secondly, how'd you install a module (DBI-1.52) in windows from the tar.gz? Where do you run the install command?

Dazzer
 
If you have the most recent ActiveState perl on windows, it should have come with ppm, their package manager. To see what you have installed, run ppm query * from a command prompt. Unless you have firewall problems, it should be able to install packages straight from the net. Run ppm help for more details.

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::PerlDesignPatterns)[/small]
 
Start>>Programs>>ActiveState/ActivePerl>>Documentation

You will see a list of all core and installed modules in the left pane and much more. The ppm instructions for installing modules is also there. It's all in HTML format and very easy to read.

- Kevin, perl coder unexceptional!
 
have a google for perldiver, it'll tell you what modules you have installed through rither PPM or CPAN

HTH

IIRC, DBI is a core module, and perhaps DBD

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top