dctechie has asked for the wisdom of the Perl Monks concerning the following question:
my $curdir = cwd().""; require "$curdir/common.pl"; my (%g_emails,@dwd_to,$db2_table,$db2_stepcourse); my $server = &server_name; #&debug($server); my $g_n2_url = "http://$server/nihits.pl"; $g_cookiepath = "/"; if (($server eq "nominate-test.**.***.net") or ($server eq "nihitstest +.**.***.net")){ $dsn = "NIHITSDSN"; $dbuser = "nihits"; $dbpass = "********"; }elsif ($server eq "nominate.**.***.net"){ $dsn = "NIHITSdsn"; $dbuser = "nihits"; $dbpass = "********"; } my $dbname = "DBI:ODBC:". $dsn; my $g_delivery = ¤t_website;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Switching from ODBC to DBI
by locked_user sundialsvc4 (Abbot) on Apr 11, 2011 at 16:11 UTC | |
Re: Switching from ODBC to DBI
by InfiniteSilence (Curate) on Apr 11, 2011 at 17:54 UTC | |
Re: Switching from ODBC to DBI
by thargas (Deacon) on Apr 11, 2011 at 18:44 UTC | |
Re: Switching from ODBC to DBI
by mje (Curate) on Apr 12, 2011 at 07:47 UTC | |
by dctechie (Initiate) on Apr 13, 2011 at 17:03 UTC | |
Re: Switching from ODBC to DBI
by dctechie (Initiate) on Apr 11, 2011 at 19:43 UTC | |
by locked_user sundialsvc4 (Abbot) on Apr 11, 2011 at 20:06 UTC | |
by tomfahle (Priest) on Apr 12, 2011 at 06:15 UTC |