Re: RE: Evaluated require $database not found.

2004-12-29 Thread amonotod
From: Ron Goral [EMAIL PROTECTED] Date: 2004/12/26 Sun PM 10:35:37 CST -Original Message- From: Jeff Zucker [mailto:[EMAIL PROTECTED] Sent: Sunday, December 26, 2004 10:30 PM Paul Boutros wrote: use strict; my $val = 'DBI'; require $val; Try it with $val = 'DBI.pm'

Re: Evaluated require $database not found.

2004-12-28 Thread Hardy Merrill
Subject: RE: Evaluated require $database not found. What you missed is fundamental to understanding Perl vs understanding anything about the DBI module, and I would really recommend you picking up a good beginners book on Perl. The values for $db_name, $host_name, $user_name

Re: Evaluated require $database not found.

2004-12-27 Thread Jeff Zucker
Ron Wingfield wrote: RE: Your question, I still have no idea what you mean by $database. Is that the DBD, the RDBMS, the schema within the RDBMS, or something else? No, . . .nothing that sophisticated. It's my spelling (could just as easily be $foobar ) for a scalar variable to whom is

Re: Evaluated require $database not found.

2004-12-27 Thread Ron Wingfield
Wingfield Cc: dbi-users Sent: Monday, December 27, 2004 10:07 AM Subject: Re: Evaluated require $database not found. Ron Wingfield wrote: RE: Your question, I still have no idea what you mean by $database. Is that the DBD, the RDBMS, the schema within the RDBMS, or something else

Re: Evaluated require $database not found.

2004-12-27 Thread Ron Wingfield
: Evaluated require $database not found. Hi Jeff, First, Never apologize for any question regarding IT! (Keep in mind that Murphy never heard of IT when he canonized his laws.) To furthur explain, I want to pass a run-time parameter from pgm-A to pgm-B. This parameter (in addition

Re: Evaluated require $database not found.

2004-12-27 Thread Jeff Zucker
Ron Wingfield wrote: A practical example of a business application might be illustrated by a manufacturing operation spread over multiple cities. In such a scenario, a common server (i.e., the actual physical box and all), located in Little Rock also serves the Ft. Smith and Memphis locations,

Re: Evaluated require $database not found.

2004-12-27 Thread Ron Wingfield
. - Original Message - From: Jeff Zucker To: Ron Wingfield Cc: dbi-users@perl.org Sent: Monday, December 27, 2004 11:55 AM Subject: Re: Evaluated require $database not found. Ron Wingfield wrote: A practical example of a business application might be illustrated

Re: Evaluated require $database not found.

2004-12-27 Thread Ron Wingfield
at eleven, Ron W. - Original Message - From: Jeff Zucker To: Ron Wingfield Cc: dbi-users@perl.org Sent: Monday, December 27, 2004 11:55 AM Subject: Re: Evaluated require $database

Evaluated require $database not found.

2004-12-26 Thread Ron Wingfield
Continuing to experiment with the evaluation of the require $database scenario, I've learned this: use strict; use CGI; use Perl_API_Utils; # installed in /www/cgi-bin/perl use DBI; use lib qw(/usr/home/rtwingfield/bin /www/cgi-bin/perl); $cgi = new CGI; . . . print

RE: Evaluated require $database not found.

2004-12-26 Thread Paul Boutros
require $database not found. Continuing to experiment with the evaluation of the require $database scenario, I've learned this: use strict; use CGI; use Perl_API_Utils; # installed in /www/cgi-bin/perl use DBI; use lib qw(/usr/home/rtwingfield/bin /www/cgi-bin/perl); $cgi

RE: Evaluated require $database not found.

2004-12-26 Thread Darren Duncan
At 11:17 PM -0500 12/26/04, Paul Boutros wrote: If I understand correctly, you're trying to decide at run-time what module to include. I don't think that's possible. For example, the following code: use strict; my $val = 'DBI'; require $val; fails for me on every system I've tried with a: Can't

Re: Evaluated require $database not found.

2004-12-26 Thread Jeff Zucker
Paul Boutros wrote: If I understand correctly, you're trying to decide at run-time what module to include. I don't think that's possible. For example, the following code: use strict; my $val = 'DBI'; require $val; Try it with $val = 'DBI.pm' :-) -Original Message- Continuing to

RE: Evaluated require $database not found.

2004-12-26 Thread Ron Goral
-Original Message- From: Jeff Zucker [mailto:[EMAIL PROTECTED] Sent: Sunday, December 26, 2004 10:30 PM To: Paul Boutros; dbi-users Subject: Re: Evaluated require $database not found. Paul Boutros wrote: If I understand correctly, you're trying to decide at run-time what

Re: Evaluated require $database not found.

2004-12-26 Thread Ron Wingfield
- From: Paul Boutros To: Ron Wingfield ; dbi-users@perl.org Sent: Sunday, December 26, 2004 10:17 PM Subject: RE: Evaluated require $database not found. If I understand correctly, you're trying to decide at run-time what module to include. I don't think that's possible. For example

Re: Evaluated require $database not found.

2004-12-26 Thread Ron Wingfield
- Original Message - From: Ron Goral To: Jeff Zucker ; Paul Boutros ; dbi-users Sent: Sunday, December 26, 2004 10:35 PM Subject: RE: Evaluated require $database not found. -Original Message- From: Jeff Zucker

RE: Evaluated require $database not found.

2004-12-26 Thread Paul Boutros
: Ron Goral [mailto:[EMAIL PROTECTED] Sent: Sunday, December 26, 2004 11:36 PM To: Jeff Zucker; Paul Boutros; dbi-users Subject: RE: Evaluated require $database not found. -Original Message- From: Jeff Zucker [mailto:[EMAIL PROTECTED] Sent: Sunday, December 26, 2004 10:30 PM

Re: Evaluated require $database not found.

2004-12-26 Thread Ron Wingfield
Sent: Sunday, December 26, 2004 11:16 PM Subject: RE: Evaluated require $database not found. Yup, indeed both the EVAL STRING construct my $val = 'DBI'; eval require $val;; and explicitly giving file-extensions my $val = 'DBI.pm'; require $val; work just fine on my systems