I have a CGI application where I do:
require 'db.pl';
where db.pl defines some functions and variables related to connecting to
the database, and then executes C$dbh = DBI-connect(...).
snip
I can get around this by changing Crequire to Cdo, but is that the
correct way of doing things?
For what you are trying to do, you should turn it into a module. Sorry for
the short post, I've gotta split...
Although it's not user friendly, my more constructive hint is to type
perldoc perlmod to get a quick tutorial on writing a module.
At 06:56 PM 8/1/2001 -0400, Philip Mak wrote:
I
At 07:16 PM 8/1/2001 -0400, Perrin Harkins wrote:
I have a CGI application where I do:
require 'db.pl';
where db.pl defines some functions and variables related to connecting to
the database, and then executes C$dbh = DBI-connect(...).
snip
I can get around this by changing
On Wed, 1 Aug 2001, Philip Mak wrote:
I have a CGI application where I do:
require 'db.pl';
where db.pl defines some functions and variables related to connecting to
the database, and then executes C$dbh = DBI-connect(...).
I tried to convert this application to modperl, but I ran
At 07:18 PM 8/1/2001 -0700, Nick Tonkin wrote:
On Wed, 1 Aug 2001, Philip Mak wrote:
I have a CGI application where I do:
require 'db.pl';
where db.pl defines some functions and variables related to connecting to
the database, and then executes C$dbh = DBI-connect(...).
I tried
Gunther Birznieks wrote:
At 07:16 PM 8/1/2001 -0400, Perrin Harkins wrote:
I have a CGI application where I do:
require 'db.pl';
where db.pl defines some functions and variables related to connecting to
the database, and then executes C$dbh = DBI-connect(...).
snip
I