Log in Page Discussion History Go to the site toolbox

Markrh:PerlProgramming:DBIOracle

From BluWiki

#!/perl5.8.3
use strict;

...
...

my ($srt, $host, $usr, $pwd);
use Getopt::Long;
GetOptions("host=s" => \$host,
           "usr=s"  => \$usr,
           "pwd=s"  => \$pwd,
           "sort"   => \$srt);

use DBI;
my $dbh = DBI->connect("dbi:Oracle:$host", "$usr", "$pwd")
          or die "Connect error: $!\n";

...
...


Perl Programming, Cookbook

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2
This page was last modified on 12 September 2005, at 14:45.
Disclaimers - About BluWiki