Help for this page

Select Code to Download


  1. or download this
    my $xmlout = new DBIx::XML_RDB("Oracle:$dbname",$user,$passwd);
    
    # this works for MySQL - i know, i know . . . but still . . .
    my $xmlout = new DBIx::XML_RDB(qw(database:host driver usr passwd));
    
  2. or download this
    $self->{dbh} = DBI->connect("dbi:$driver:". $self->{datasource}, $user
    +id, $password);
    
    #instead of simply
    $self->{dbh} = DBI->connect(@_);    # should i offer a patch?