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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBD mysql question

Status
Not open for further replies.

redss

Programmer
Oct 20, 2002
195
A web server I need to work with has perl and mysql, but not the DBD::mysql module.

Is there a way for me to put that entire module set in my own cgi-bin, or do I have to try to get the admins to install dbd::mysql (which isnt likely)

The server is running redhat (but I don't know how to find out which version, let me know if you know how to find out)

thanks...
 
You should be able to put the files wherever you want and then add the directory to your search path using 'use lib'

e.g.

Code:
#!/usr/bin/perl -w

use strict;
use lib('/path/to/modules');
use module;

...

HTH

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top