BigJoe has asked for the wisdom of the Perl Monks concerning the following question:
I know this probably isn't a full Perl only question but I have exhausted all other means of looking for the answer.#!/usr/bin/perl use CGI; use DBI; use strict; use CGI::Carp qw(fatalsToBrowser); my $q = new CGI; print $q->header; my $dbh = DBI->connect("DBI:Oracle:host=myhost;sid=mysid", 'username', + 'password') or die "Connecting : $DBI::errstr\n"; #get the page settings my $sth = $dbh->prepare("Select SYSDATE from dual"); $sth->execute; print $sth->fetchrow_array;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl, DBI, Oracle, Apache
by tadman (Prior) on Apr 24, 2001 at 23:19 UTC | |
|
Re: Perl, DBI, Oracle, Apache
by PsychoSpunk (Hermit) on Apr 24, 2001 at 23:20 UTC | |
by BigJoe (Curate) on Apr 24, 2001 at 23:26 UTC | |
by BigJoe (Curate) on Apr 24, 2001 at 23:31 UTC | |
|
Re: Perl, DBI, Oracle, Apache
by arturo (Vicar) on Apr 24, 2001 at 23:29 UTC | |
by BigJoe (Curate) on Apr 24, 2001 at 23:38 UTC | |
|
Re: Perl, DBI, Oracle, Apache
by runrig (Abbot) on Apr 24, 2001 at 23:18 UTC | |
|
Re: Perl, DBI, Oracle, Apache
by clemburg (Curate) on Apr 25, 2001 at 15:10 UTC | |
|
Re: Perl, DBI, Oracle, Apache (possible answer)
by BigJoe (Curate) on May 15, 2001 at 18:23 UTC |