askjoe has asked for the wisdom of the Perl Monks concerning the following question:
All I need in order to get DBI working on the server is the DBI.pm module.....I am going to download it and install it manually.....I just want to be sure that this is all I need.
my script would look somhting like this:
Doesn't work.....#!/usr/bin/perl use lib 'home/public_html/'; use DBI; use CGI; $q = new CGI; ...................................................
This doesn't work either:
Still does not work.#!/usr/bin/perl use lib 'C:\Accounts\mysite\wwwRoot'; use DBI; use DBD::Mysql; use CGI; ...............etc.
The webhost doesn't have it installed, so I'm forced to incorporate it with my normal files......Can someone please help me do this so it works?? I keep getting errors like this:
"Can't locate object method "connect" via package "DBI" (perhaps you f +orgot to load "DBI"?)"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Manually installing DBI to server
by dave_the_m (Monsignor) on Feb 04, 2005 at 00:57 UTC | |
|
Re: Manually installing DBI to server
by jZed (Prior) on Feb 04, 2005 at 04:25 UTC | |
|
Re: Manually installing DBI to server
by Thilosophy (Curate) on Feb 04, 2005 at 05:30 UTC |