List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 23 2000 11:40am
Subject:Re: CGI, perl.DBI,, and strict?
View as plain text  
At 10:05 PM -0700 2000-06-22, Alan Chan wrote:
>I'm trying to learn to use mySQL to create a database for a small e-commerce
>site.  However, i'm a little confused as to which other
>module or libraries I need in order to be able to use mySQL.  Currently,
>i'm using perl and CGI.  Someone just brought to my attention regarding
>perl.dbi (think it's  For my purpose, do i need to download
>perl.dbi ( in order.  I'm reading Dubois's book and here's an
>example he used in the book:
>use DBI;
>use CGI;
>use strict;
>my ($host_name, $user_name, $password) = (undef, undef, undef);
>my ($db_name) = "samp_db";
>my ($dsn) = "DBI:mysql:$db_name";
>.... and so on...
>Obviously I need DBI and strict?  Where can I get these and what are some
>other things (libaries, module, software, etc.) that I need to query mysql?
>FYI, i'm using library.

strict comes with Perl.  For DBI, see pp 490-492 "Installing Perl DBI
Support" in the book.

Paul DuBois, paul@stripped
CGI, perl.DBI,, and strict?Alan Chan23 Jun
  • Re: CGI, perl.DBI,, and strict?tc lewis23 Jun
  • Re: CGI, perl.DBI,, and strict?Paul DuBois23 Jun