Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect ("dbi:CSV:f_ext=.csv/r;f_encoding=utf-8", undef
    +, undef, { RaiseError => 1 });
    
  2. or download this
    my $dbh = DBI->connect ("dbi:Pg:dbname=test", ...);
    
  3. or download this
    $ env PGDATABASE=merijn perl -MDBI -wE'say DBI->connect("dbi:Pg:")->{N
    +ame}||"not known"'
    not known
    $