List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 21 2002 2:25am
Subject:Re: Check for DBI support
View as plain text  
At 18:51 -0700 6/20/02, Emma Grant wrote:
>Hey all,
>
>I have decided to go with CGI for my programming language. Reason being
>is that I know it a tiny bit better then I do PHP.
>
>Does anyone know a command line command (?) to find out if I have a DBI
>for mysql support installed?

% perldoc DBI
% perldoc DBD::mysql

If these work, they're installed.

>
>I am attempting to connect to a mysql database using a quick CGI script,
>and then I am going to attempt to do the same thing on a web page. Right
>now when I run the script that I have, which I got from many different
>sources from the net, the error that the script gives me (not the die
>error that I can't connect to the database), is telling me that I am
>using a 'Bareword' where and 'operator' is expected. So I assumed that
>it does not understand 'use DBI'

Hard to say w/o seeing your code.  But I'd guess it's not what
you're thinking.

>
>Thanks for any feed back
>
>Emma


Thread
Check for DBI supportEmma Grant21 Jun
  • Re: Check for DBI supportPaul DuBois21 Jun
    • RE: Check for DBI supportEmma Grant21 Jun
      • RE: Check for DBI supportPaul DuBois21 Jun